[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#5587) some changes in cn=config are not written to slapd.d



Full_Name: Jeff Strunk
Version: 2.4.9-0ubuntu0.8.04
OS: Ubuntu 8.04
URL: 
Submission from: (NULL) (146.6.139.147)


I am setting up a new LDAP server and trying to utilize the cn=config
configuration style. While testing it out, I noticed that changes I make to
cn=config are getting written to /etc/ldap/slapd.d/cn=config/ldif, but changes
made to olcDatabase={1}hdb,cn=config are not getting written to
/etc/ldap/slapd.d/cn=config/olcDatabase={1}hdb,cn=config.ldif or anything else.

What could be happening?

slapd is started with:
slapd -g openldap -u openldap -F /etc/ldap/slapd.d

I think my permissions are correct:
/etc/ldap/slapd.d
total 8
drwxr-xr-x 4 openldap openldap 4096 2008-07-01 10:43 cn=config
-rw------- 1 openldap openldap 1325 2008-07-01 10:51 cn=config.ldif
/etc/ldap/slapd.d/cn=config
total 60
-rw------- 1 openldap openldap   395 2008-07-01 09:06 cn=module{0}.ldif
drwxr-xr-x 2 openldap openldap  4096 2008-06-27 13:59 cn=schema
-rw------- 1 openldap openldap 30183 2008-06-27 13:59 cn=schema.ldif
-rw------- 1 openldap openldap   659 2008-07-01 10:43
olcDatabase={0}config.ldif
-rw------- 1 openldap openldap   500 2008-06-27 13:59
olcDatabase={-1}frontend.ldif
drwxr-xr-x 2 openldap openldap  4096 2008-07-01 10:43 olcDatabase={1}hdb
-rw------- 1 openldap openldap  7805 2008-07-01 10:05 olcDatabase={1}hdb.ldif
/etc/ldap/slapd.d/cn=config/olcDatabase={1}hdb
total 4
-rw------- 1 openldap openldap 464 2008-07-01 10:43 olcOverlay={0}syncprov.ldif
/etc/ldap/slapd.d/cn=config/cn=schema
total 76
-rw------- 1 openldap openldap 15428 2008-06-27 13:59 cn={0}core.ldif
-rw------- 1 openldap openldap 11290 2008-06-27 13:59 cn={1}cosine.ldif
-rw------- 1 openldap openldap  2784 2008-06-27 13:59 cn={2}inetorgperson.ldif
-rw------- 1 openldap openldap  6420 2008-06-27 13:59 cn={3}nis.ldif
-rw------- 1 openldap openldap   842 2008-06-27 13:59 cn={4}autofs.ldif
-rw------- 1 openldap openldap 11791 2008-06-27 13:59 cn={5}samba.ldif
-rw------- 1 openldap openldap  1829 2008-06-27 13:59 cn={6}sudo.ldif
-rw------- 1 openldap openldap 10677 2008-06-27 13:59 cn={7}pykota.ldif
-rw------- 1 openldap openldap  1494 2008-06-27 13:59 cn={8}local.ldif