I have group G and user U. The entry for G includes U as a "member" record. The entry for U does not include G as a "memberOf" record. (I am querying the entries programmatically, in C#, and viewing them in Softerra LDAP Browser). Can anybody explain this paradox?
The memberOf
attribute is not authoritative. Whether a group is listed there depends on the "Scope" of the group. It will only include:
I describe this in a little more detail in an article I wrote, under the heading "Beware of memberOf
".
If you need to find groups that memberOf
doesn't list, I also wrote an article called Finding all of a user's groups with code samples.