LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Slapd.conf removed- Where do I edit in slapd.d DIT for same info? (https://www.linuxquestions.org/questions/linux-server-73/slapd-conf-removed-where-do-i-edit-in-slapd-d-dit-for-same-info-933868/)

dman777 03-11-2012 06:04 AM

Slapd.conf removed- Where do I edit in slapd.d DIT for same info?
 
Since openldap did away with slapd.conf, where do I place information such as suffix "dc=your-domain,dc=com"? With the new slapd.d and DIT structures, rather than just one slad.conf file...I do not know where to place the fundmental information such as "dc=your-domain,dc=com".



I am new and I don't want to go with the slapd.conf method and migrate the info, since slapd.conf is going away I want to learn the new method. I checked the openldap site and the way they explain it I don't fully understand for what I simiply want to do. I am using Centos and I am building a new(no migration) ldap server only to use authentaction for logging with PAM user accounts and passwords.

bathory 03-12-2012 03:47 AM

Hi,

You might take a look at this howto

Note that you can still use old slapd.conf configuration instead of the new slapd.d. In fact when slapd is starting it looks for a slapd.d directoy. If it doesn't find it, it uses slapd.conf. If you like, you can after configuring your openldap server this way, to convert slapd configuration to the cn=config DIT (i.e. use the slapd.d directory) using the instructions here

Regards


All times are GMT -5. The time now is 07:51 PM.