https://bugs.openldap.org/show_bug.cgi?id=10298
--- Comment #3 from Jan Pekar jan.pekar@imatic.cz --- One additional comment to "workaround" I found.
In the target objectClass I can create dynamic group - so define memberURL that will lookup all entries, that references me (my target objectClass).
The only inconvenience is, that in the memberURL I need to filter target DN (my entry itself). It would be nice that I can use some replacement variable (something like %self%) so I can define memberURL like
memberURL: ldap:///ou=someou,dc=example,dc=com??sub?(myAttr=%self%)
and this %self% will be always replaced with DN of the entry, which contains this memberURL definition so I can list attributes (or list DNs) from entries, that points to this entry (points to myself).
Thank you