Hi there,
I am trying to setup a Samba + OpenLDAP server here but it has been a while since the last time that I did it. Last time that I did it, the slapd was configured by the file slapd.conf but now I realized that it has a new configuration method based on LDIF files.
I'm a little confused with this new method and every tutorial that I find on the Internet says that I should write a slapd.conf and use the migration tool. But doing that I'll not be using the best feature of the new method (on-line updates) so I want to learn the new way.
Sorry for this newbie question but I am not understanding how to use it to add a schema file or even change some configuration. Do anyone have some tips or even a good tutorial (maybe even a samba related one) that teaches how to do it in the "right" way?
Thanks and sorry for any English mistakes (this is one of my very first mail to an English listing) André Ribas
--On Friday, January 20, 2012 5:35 PM -0200 André Ribas andreribas@gmail.com wrote:
Hi there,
I am trying to setup a Samba + OpenLDAP server here but it has been a while since the last time that I did it. Last time that I did it, the slapd was configured by the file slapd.conf but now I realized that it has a new configuration method based on LDIF files.
I'm a little confused with this new method and every tutorial that I find on the Internet says that I should write a slapd.conf and use the migration tool. But doing that I'll not be using the best feature of the new method (on-line updates) so I want to learn the new way.
Sorry for this newbie question but I am not understanding how to use it to add a schema file or even change some configuration. Do anyone have some tips or even a good tutorial (maybe even a samba related one) that teaches how to do it in the "right" way?
You administer the cn=config db the same way you do any other LDAP database. You can use "ldapadd" to add a new schema. You can use "ldapmodify" to modify settings.
The easiest way to *bootstrap* the initial cn=config is to have a slapd.conf that you convert to a cn=config DB, and then you use ldapadd/ldapmodify from then on. That is what is being suggested.
--Quanah
--
Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
Hi Andr`e,
Am 20.01.2012 20:35, schrieb André Ribas:
I'm a little confused with this new method and every tutorial that I find on the Internet says that I should write a slapd.conf and use the migration tool. But doing that I'll not be using the best feature of the new method (on-line updates) so I want to learn the new way.
do you mean the new cn=config Backend within Openldap?
You will find a quite good installation guide here:
http://wiki.ubuntuusers.de/OpenLDAP
Additionally it is possible to convert the slapd.conf into the cn=config backend.
In my mind the cn=config backend is better for future... but sometimes it's really difficult to handle it.
openldap-technical@openldap.org