[CentOS] OpenLDAP setup and bootstraping in CentOS 6
Josh Miller
joshua at itsecureadmin.com
Wed Aug 17 19:37:54 UTC 2011
On 08/17/2011 12:03 PM, Mitch Patenaude wrote:
...
> I created a /etc/openldap/slap.conf file with a default rootdn and
> rootpw, and they didn't seem to take effect. After much wailing and
> gnashing of teeth I found that if there is a config directory at
> /etc/openldap/slapd.d, it will ignore slapd.conf. I can't figure out how
> to translate slapd.conf into the (new?) standard of slapd.d because all
> the examples I can find still use slapd.conf.
>
> Am I better off just deleting (or renaming) slapd.d? Does anybody know
> the proper format for slapd.d entries?
...
You'd be best off learning the new method of configuration as I've heard
rumors that the slapd.conf file will be deprecated at some point.
Here you can find some additional information:
http://www.zytrax.com/books/ldap/ch6/slapd-config.html
Basically, any slap* command which can reference a file will perform the
conversion.
HTH,
--
Josh Miller
Open Source Solutions Architect
http://itsecureadmin.com/
More information about the CentOS
mailing list