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 )
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