Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Ravshanbek
Contributor II
Contributor II

Active directory query syntax

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

 

 

 

Labels (1)
  • QMC

0 Replies