https://bugs.openldap.org/show_bug.cgi?id=9792
Issue ID: 9792 Summary: During replication, slapd tries to modify hasSubordinates (and fails) Product: OpenLDAP Version: 2.5.9 Hardware: x86_64 OS: Linux Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: christophe@armaghast.eu Target Milestone: ---
During relication, this strange error occurs:
Jan 25 14:46:42 annu slapd[471040]: conn=1001 op=2796 MOD attr=userPassword pwdChangedTime pwdHistory entryCSN modifiersName modifyTimestamp hasSubordinates Jan 25 14:46:42 annu slapd[471040]: conn=1001 op=2796 RESULT tag=103 err=16 qtime=0.000030 etime=0.000462 text=modify/delete: hasSubordinates: no such attribute
Why does slapd try to modify this (virtual) attribute ?
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.
https://bugs.openldap.org/show_bug.cgi?id=9792
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- set exattrs=hassubordinates in your replication configuration.
https://bugs.openldap.org/show_bug.cgi?id=9792
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Keywords|needs_review | Status|UNCONFIRMED |RESOLVED
https://bugs.openldap.org/show_bug.cgi?id=9792
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED