A pragmatic approach is to configure as much as possible in slapd.conf and then migrate that into the cn=config structure by using slaptest: slapdtest -f <path and name of the slapd.conf-file> -F <directory to store the LDIF-like configuration> In case you are in the right directory and you are using the standard file name it is just: slaptest -f slapd.conf -F slapd.d After that you can start the slapd and do more configuration dynamically on the ldap data, e.g. with Apache Directory Studio and a connection specified to use basedn cn=config. Hope this helps. Cheers, Peter Am 19.02.2014 18:29, schrieb Sonny Taberman: > Hi all ldap people. > I have been trying this new way of configuring a slapd server from scratch. Sorry to say total failure on my side. I'm not sure where to begin. > I have built a linux system from LFS Linux from scratch. So I want to install openldap from source, so far no problems. > When my installation is done i have a directory in /etc/ named openldap and the content inside is this: > > DB_CONFIG.example > ldap.conf > ldap.conf.default > schema > slapd.conf > slapd.conf.default > slapd.ldif > slapd.ldif.default > > To start configure my slapd using slapd.conf there is no problem. Actually I'm beginning to think I'm pretty good att this. :-) > But then I try to read all I can find about configure a new slapd using slapd.ldif, not that easy. > I understand that I need a new directory named slapd.d. After that I have no clue. > I guess something is hardcoded in slapd but what am I supposed to do next? > How can i communicate with slapd ? I guess I have to define a password somewhere for a manager or administrator but how and where? > Is there a tutorial somwhere ? > All I need is how to start. :-) > > best regards > > Sonny -- Peter Gietz, CEO DAASI International GmbH Europaplatz 3 D-72072 Tübingen Germany phone: +49 7071 407109-0 fax: +49 7071 407109-9 email: peter.gietz@daasi.de web: www.daasi.de Sitz der Gesellschaft: Tübingen Registergericht: Amtsgericht Stuttgart, HRB 382175 Geschäftsleitung: Peter Gietz
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature