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 retrieve the groups using a wildcard entry. But I am not able to retrieve 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 that wild card entries are not allowed in a member or memberOf function to retrieve the users. Please let me know if there is any alternative to do this.
I am struggling a bit to retrieve the members of groups based on a pattern matching criteria in the query.
Any help would be highly appreciated.
Thanks,
Srikanth