Hello, I've installed my first openldap using the source downloaded in openldap web pages. when the make install finishs i don't find the cn=config DIT, it hasn't been created during intallation process. How can i created the cn=config directory after the installation?
Sorry if i'm asking a foolishness Thanks
On 02/09/13 08:24 +0100, arantza serrano wrote:
I've installed my first openldap using the source downloaded in openldap web pages. when the make install finishs i don't find the cn=config DIT, it hasn't been created during intallation process. How can i created the cn=config directory after the installation?
See section 5.3 of the OpenLDAP Administrator's Guide for an example cn=config configuration, with which you can populate using the slapadd command.
Section 6.3 provides a slapd.conf example - you might also find the default configurations distributed by Linux or other OS vendors to be useful. 5.4 documents how to convert a slapd.conf file to cn=config format.
Configuration details are documented in the slapd-config manpage.
after installation, the config is still in old fashioned "slapd.conf"
you have to: - create manually a "slapd.d" directory - convert "slapd.conf" into "cn=config", by doing "slaptest -f slapd.conf -F slapd.d"
You can then delete (or backup) your old slapd.conf file, openldap will start with the new cn=config, which it will find in slapd.d directory
hope that helps
Le 09/02/2013 08:24, arantza serrano a écrit :
Hello, I've installed my first openldap using the source downloaded in openldap web pages. when the make install finishs i don't find the cn=config DIT, it hasn't been created during intallation process. How can i created the cn=config directory after the installation?
Sorry if i'm asking a foolishness Thanks
It works! Thanks!
Date: Sat, 9 Feb 2013 12:10:30 +0100 From: benintechnologies@yahoo.fr To: openldap-technical@openldap.org Subject: Re: How to create cn=config DIT
after installation, the config is still in old fashioned "slapd.conf"
you have to:
- create manually a "slapd.d" directory
- convert "slapd.conf" into "cn=config", by doing "slaptest -f
slapd.conf -F slapd.d"
You can then delete (or backup) your old slapd.conf file, openldap will start with the new cn=config, which it will find in slapd.d directory
hope that helps
Le 09/02/2013 08:24, arantza serrano a écrit :
Hello, I've installed my first openldap using the source downloaded in openldap web pages. when the make install finishs i don't find the cn=config DIT, it hasn't been created during intallation process. How can i created the cn=config directory after the installation?
Sorry if i'm asking a foolishness Thanks
openldap-technical@openldap.org