active directory - Get all member of groups contained by OU -


i trying users, part of group.
single group no problem me:

(&     (objectcategory=person)     (samaccountname=*)     (memberof=cn=...,ou=...,dc=..) ) 

but need members of groups part ou.
idea use following:

(&     (objectcategory=person)     (samaccountname=*)     (memberof=cn=*,ou=...,dc=..) ) 

but seems not work (the result empty). using apache ldap studio testing.
there possibility filter users this?

sorry don't think can use wildcard caracters in dn comparaison in active-directory.

extensiblematch explained here may perhaps allow build filters on dn path, it's not supported in active directory. far know you've got following solution want:

  • first groups in ou, each group members.

Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -