https://bugs.openldap.org/show_bug.cgi?id=9588
Issue ID: 9588 Summary: MODRDN on group's parent entry does not update memberOf for members Product: OpenLDAP Version: 2.4.59 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: overlays Assignee: bugs@openldap.org Reporter: rouazana@linagora.com Target Milestone: ---
Suppose I have a group like this:
dn: cn=group,ou=branch,dc=suffix objectClass: groupOfNames member: cn=user,ou=users,dc=suffix
If I modify the entry ou=branch,dc=suffix to become ou=branch-modified,dc=suffix then attribute memberOf of the user cn=user,ou=users,dc=suffix is not updated to reflect the change, and point now to an non-existent DN.
It seems the memberOf overlay should not only check for MODRDN on groups, but also for MODRDN on groups' parent entries.