https://bugs.openldap.org/show_bug.cgi?id=9282
--- Comment #4 from Quanah Gibson-Mount quanah@openldap.org --- General steps to reproduce:
slapadd server1 config on node A slapadd server2 config on node B
start server A, start server B
ldapadd example database on node A
confirm DB has replicated to both nodes, and that entry to be deleted exists:
ldapsearch -H ldap://server1.example.com -x -D cn=admin,dc=example,dc=com -w secret -b dc=example,dc=com "(objectClass=*)" 1.1 | grep ^dn: | wc -l
Should be: 1011
ldapsearch -H ldap://server2.example.com -x -D cn=admin,dc=example,dc=com -w secret -b dc=example,dc=com "(objectClass=*)" 1.1 | grep ^dn: | wc -l
Should be: 1011
ldapsearch -x -H ldap://server1.example.com/ -D cn=admin,dc=example,dc=com -w secret "cn=Daemon Leeson" 1.1
Should return entry DN: dn: cn=Damon Leeson,ou=Product Development,dc=example,dc=com
ldapsearch -x -H ldap://server2.example.com/ -D cn=admin,dc=example,dc=com -w secret "cn=Daemon Leeson" 1.1 dn: cn=Damon Leeson,ou=Product Development,dc=example,dc=com
Stop node A
Delete entry from node B:
ldapdelete -x -H ldap://server2.example.com/ -D cn=admin,dc=example,dc=com -w secret "cn=Damon Leeson, ou=Product Development, dc=example,dc=com"
Confirm entry is gone from node B: ldapsearch -x -H ldap://server2.example.com/ -D cn=admin,dc=example,dc=com -w secret "cn=Daemon Leeson" 1.1
<nothing>
Start node A
Wait for replication to re-initiate from node B to node A
Search for entry in both nodes.
ldapsearch -x -H ldap://server1.example.com/ -D cn=admin,dc=example,dc=com -w secret "cn=Daemon Leeson" 1.1
ldapsearch -x -H ldap://server2.example.com/ -D cn=admin,dc=example,dc=com -w secret "cn=Daemon Leeson" 1.1
Expected: Entry is not in either node
Actual: Entry is in both nodes