Hi All,
Currently I am trying to fetch users from AD using below LDAP queries:
1) OU=IT,OU=Headoffice,DC=xxx,DC=com --- no user fetched. this is distinguished name in LDAP
2) (&(objectClass=user)((memberOf:1.2.840.113556.1.4.1941:=OU=IT,OU=Headoffice,DC=xxx,DC=com))) --- no user fetched
3) (&(objectClass=user)(memberof=*it*)) --- no user fetched
How can I get users either using distinguished name or group ?
My task is to get users based on some attributes (not by name, no personal attr)
Plz help