Question

I need a group query to get only the groups of members which are part of a certain group.
I found a query for the member list already (LDAP Query to list all users of a certain group).

But simply changing the objectCategory isn't enough.

Is it possible to query the groups of members of a certain group?

Was it helpful?

Solution

Change the filter of objectCategory=user to objectClass=group but keep the & and the memberOf=FULL-DN-OF-GROUP-OF-INTEREST.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top