Please find the slapi_memberof design under
This new slapi_memberof function in plugin API, provides a list of
entries that a given entry is member of, either directly or indirectly.
It could be reused by existing plugins (like memberof or referential
integrity). It can also be used by other component like InChain matching
rule that requires such service.
Any comments are welcome