On 09/21/2009 02:34 AM, Emmanuel Kasper wrote:
Hello I noticed today that my syncrepl consumer was not up to date with the last change contained in the provider. (I am using slapd 2.4.11-1 from debian )
Hi,
Many replication related bugs have been corrected since 2.4.11, which is a rather old release now. This bug may well be fixed in the latest version 2.4.18.
I recommend you try this latest release. I think you will find debian packages available either on backports or from third parties.
Hope this helps, Jonathan
Looking at /var/log/syslog I see
Sep 16 13:49:37 ur slapd[8172]: syncrepl_entry: rid=100 be_search (0) Sep 16 13:49:37 ur slapd[8172]: syncrepl_entry: rid=100 dc=webmail,ou=friends.openforce.com,ou=CNAME,dc=openforce.com,ou=private,ou=dns,dc=openforce,dc=com
Sep 16 13:49:37 ur slapd[8172]: syncrepl_entry: rid=100 be_modrdn (32) Sep 16 13:49:37 ur slapd[8172]: do_syncrepl: rid=100 quitting
and in debug mode
bdb_modrdn: new parent "ou=friends.openforce.com,ou=CNAME,dc=openforce.com,ou=private,ou=dns,dc=openforce,dc=com"
requested... bdb_dn2entry("ou=friends.openforce.com,ou=cname,dc=openforce.com,ou=private,ou=dns,dc=openforce,dc=com")
=> bdb_dn2id("ou=friends.openforce.com,ou=cname,dc=openforce.com,ou=private,ou=dns,dc=openforce,dc=com")
<= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found (-30990) bdb_modrdn: newSup(ndn=ou=friends.openforce.com,ou=cname,dc=openforce.com,ou=private,ou=dns,dc=openforce,dc=com)
not here!
see the cname/CNAME case difference ? the provider dn is indeed written CNAME.
EK