With openLDAP 2.4.11, the default configuration file, slapd.conf, has been moved into the LDAP backend. They make conversion easy, by using the following command:
sudo /usr/sbin/slapd -u openldap -g openldap -f /etc/ldap/slapd.conf -F /etc/ldap/slapd.d
(This is on Ubuntu Intrepid). Be aware that if you run this command multiple times, you may get duplicate configuration files in /etc/ldap/slapd.d/. To fix this, you simply rm -Rf the offending ldif file:
sudo rm -rf slapd.d/cn=config/cn=schema/cn={2}cosine.ldif
With a little side of applesauce...
Wednesday, December 3, 2008
Subscribe to:
Post Comments (Atom)
©2006 Shannon Eric Peevey
1 comments:
Also see:
OpenLDAP Quick Tips: Switch to the dynamic config backend (cn=config)
Post a Comment