Hi, I am using open ldap 2.4.8 with Berkeley DB 4.6.21 ( I haven't applied any patch to either open ldap or to Berkeley DB).
When I configure a slave process, the addition and modification of users get propogated from master to slave. But the deletion of users from the master do not get propogated. the slapd logs in the master show that user is getting deleted.
I saw a old note " http://www.openldap.org/lists/openldap-bugs/200409/msg00001.html" which listed similar issue.
Master slapd.conf details ================== ####################################################################### # BDB database definitions #######################################################################
database bdb suffix "dc=example,dc=com" rootdn "cn=Manager,dc=example,dc=com" # Cleartext passwords, especially for the rootdn, should # be avoid. See slappasswd(8) and slapd.conf(5) for details. # Use of strong authentication encouraged. rootpw secret # The database directory MUST exist prior to running slapd AND # should only be accessible by the slapd and slap tools. # Mode 700 recommended. directory <my_host>/openldap-2.4.8/var/openldap-data # Indices to maintain index objectClass eq index entryCSN eq index entryUUID eq
overlay syncprov syncprov-checkpoint 100 10 syncprov-sessionlog 100
Slave slapd.conf ============ database bdb suffix "dc=example,dc=com" rootdn "cn=Manager,dc=example,dc=com" # Cleartext passwords, especially for the rootdn, should # be avoid. See slappasswd(8) and slapd.conf(5) for details. # Use of strong authentication encouraged. rootpw secret # The database directory MUST exist prior to running slapd AND # should only be accessible by the slapd and slap tools. # Mode 700 recommended. directory <myhost>/openldap-2.4.8/var/openldap-data_repl # Indices to maintain index objectClass eq index entryCSN eq index entryUUID eq
syncrepl rid=1234 provider=ldap://masterldap.com:9011 type=refreshOnly interval=00:00:00:15 searchbase="dc=example,dc=com" filter="(objectClass=*)" scope=sub
attrs="cn,sn,ou,telephoneNumber,title,l,givenname,mail,entryUUID,entryCSN" schemachecking=off bindmethod=simple binddn="cn=Manager,dc=example,dc=com" credentials=secret
Is there a issue with my configuration files ? or is this is a known issue in 2.4.8? Thanks, Srinidhi
openldap-technical@openldap.org