https://bugs.openldap.org/show_bug.cgi?id=9792
--- Comment #1 from christophe@armaghast.eu --- Here is a more complete analysis:
We have a replication from primary server A to secondary server B (only a small part of the directory is replicated to B).
The process is:
- Directory is created on A - Directory is (partly) replicated on B - Some objects are modified on A, using ldapmodify - The modifications are replicated to server B => This causes an exception like:
Jan 27 17:12:27 annu slapd[413838]: conn=1001 op=133 SRCH base="dc=externe,dc=data,dc=my-project,dc=com" scope=2 deref=0 filter="(entryUUID=7f665d1c-13ce-103c-8350-35278dda1cc5)" Jan 27 17:12:27 annu slapd[413838]: conn=1001 op=133 SRCH attr=* + Jan 27 17:12:27 annu slapd[413838]: conn=1001 op=133 SEARCH RESULT tag=101 err=0 qtime=0.000131 etime=0.001555 nentries=1 text= Jan 27 17:12:27 annu slapd[413838]: conn=1001 op=134 SRCH base="cn=ca_user,ou=roles,dc=externe,dc=data,dc=my-project,dc=com" scope=0 deref=0 filter="(objectClass=*)" Jan 27 17:12:27 annu slapd[413838]: conn=1001 op=134 SEARCH RESULT tag=101 err=0 qtime=0.000037 etime=0.000355 nentries=1 text= Jan 27 17:12:27 annu slapd[413838]: conn=1001 op=135 MOD dn="cn=CA_USER,ou=Roles,dc=Externe,dc=Data,dc=MY-PROJECT,dc=com" Jan 27 17:12:27 annu slapd[413838]: conn=1001 op=135 MOD attr=member entryCSN modifiersName modifyTimestamp hasSubordinates Jan 27 17:12:27 annu slapd[413838]: conn=1001 op=135 RESULT tag=103 err=16 qtime=0.000053 etime=0.000602 text=modify/delete: hasSubordinates: no such attribute
I ran into this exception "hasSubordinates: no such attribute" while modifying menmbership or userPassword.