LDAP query, geto all user of a group

35 Views Asked by At

Goodmorning, i have neer worked with LDAP filter. Basically i'm trying to get all users that are member of a group

my AD is composed by 1 domain, a series of Organization Unit with inside all users. i have added some of this users, to a group (NameOfGroups)

can u pls help me? thanks you

i tried to compose this query, but this return an empty results.

(&(&(|(&(objectCategory=person)(objectSid=*)(!samAccountType:1.2.840.113556.1.4.804:=3))(&(objectCategory=person)(!objectSid=*))(&(objectCategory=group)(groupType:1.2.840.113556.1.4.804:=14)))(objectCategory=group)(objectClass=group)(member=NameOfGroups)))
0

There are 0 best solutions below