
October 18th, 2011, 02:41 PM
|
|
Registered User
|
|
Join Date: Oct 2011
Posts: 1
Time spent in forums: 21 m
Reputation Power: 0
|
|
|
LDAP Query to find users for certain groups
Hi,
I am trying to write a query to find the users who belong to certain groups starting with the group names like 'INFA_LDAP_'. I was able to find the groups using a wildcard entry. But I am not able to query for users with in the groups starting with 'INFA_LDAP_'. Below is the example for searching for Groups using a wildcard entry:
Code:
(&(objectCategory=group)(sAMAccountName=INFA_LDAP_*))
I read in some forums stating that we can not user member or memberOf function to find the users using wildcard entry.
Thanks,
Srikanth
|