-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatically rebuild slapd.d configuration when slapd.conf is updated
OpenLDAP 2.4 now uses a newer configuration layout where the files in oapenldap_dir/slapd.d take precedence over slapd.conf. To workaround that, when slapd.conf is updated, we should purge that folder and run slaptest which regenerates the files in slapd.d as needed. This only runs on systems that has a slapd.d directory which should only be OpenLDAP 2.4 systems. Signed-off-by: Lance Albertson <[email protected]>
- Loading branch information
Showing
3 changed files
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters