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
Post a Comment