enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #01704
[Question #203887]: syncrepl and deleted entries
New question #203887 on openldap in Ubuntu:
https://answers.launchpad.net/ubuntu/+source/openldap/+question/203887
Hello,
===PROVIDER===
Ubuntu 10.04.2 (lucid)
OpenLDAP 2.4.21-0ubuntu5.3
slapd.conf:
moduleload syncprov
overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100
===CONSUMER===
Ubuntu 12.04 (precise)
OpenLDAP 2.4.28-1.1ubuntu4
slapd.conf:
syncrepl rid=001
provider=ldaps://provider.domain.org:636
tls_reqcert=never
searchbase="dc=domain,dc=org"
filter="(objectClass=*)"
bindmethod=simple
binddn="cn=admin,dc=domain,dc=org"
credentials=xxxxxx
retry="60 +"
type=refreshAndPersist
scope=sub
attrs="*,+"
schemachecking=off
interval=00:00:05:00
Everything works fine and added/modified entries from the provider are immediately replicated to the consumer, but it doesn't work with deleted entries - if I delete an entry from the provider it gets never deleted from the consumer.
According to http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=blob_plain;f=CHANGES;hb=refs/heads/OPENLDAP_REL_ENG_2_4 it was fixed in 2.4.30: "Fixed slapd syncrepl delete handling (ITS#7052,ITS#7162)" and was caused by a regression by ITS#6024 (http://www.openldap.org/its/index.cgi/Software%20Bugs?id=7162;page=3), however I'm not sure whether ITS#6024 was committed into the slapd package (can't find it in http://changelogs.ubuntu.com/changelogs/pool/main/o/openldap/openldap_2.4.28-1.1ubuntu4/changelog).
--
You received this question notification because you are a member of
Ubuntu Server/Client Support Team, which is an answer contact for
openldap in Ubuntu.