query/filter/dn to show recursive members/users of groups

General Discussion about LDAP Administrator

Moderator: Support

Re: query/filter/dn to show recursive members/users of group

Postby Support » Thu Apr 16, 2015 11:13 am

Hello,
Have you tried to use memberof attribute to find all users of a group or a list of groups?
Example of the ldap filter :
Code: Select all
(&(memberof=CN=WEBOE_Supervisors,OU=Groups,OU=BRADGROUP,DC=bgeltd,DC=com)(memberof=CN=Oxford CS Supervisors,OU=Groups,OU=CA-Oxford,OU=BRADGROUP,DC=bgeltd,DC=com))
Support
 
Posts: 884
Joined: Sun Aug 12, 2001 12:00 am

Re: query/filter/dn to show recursive members/users of group

Postby Support » Mon Apr 20, 2015 10:40 am

Yes, you can perform this request using for example Directory Search dialog.
Support
 
Posts: 884
Joined: Sun Aug 12, 2001 12:00 am

Re: query/filter/dn to show recursive members/users of group

Postby Support » Tue Apr 21, 2015 10:39 am

Try to search from RootDSE. I think that members could be located not in the ou=bradgroup,dc=bgeltd,dc=com. That's why they are not found.
Also please use the dn in your search filter
Code: Select all
(memberOf:1.2.840.113556.1.4.1941:=cn=WEBOE_Supervisors,OU=Groups,OU=BRADGROUP,DC=bgeltd,DC=com)
Support
 
Posts: 884
Joined: Sun Aug 12, 2001 12:00 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests