Enumerate groups from UNIX


hi, need enumerate groups specific user - including recursive groups (i.e. "user" member of "group1" , group1 member of "group_all" need result group1 , group_all).

i played around ldapsearch:

ldapsearch -d cn=administrator,cn=users,dc=domain -h ad-server -v -w <password> -x -b "cn=jack public,cn=users,dc=domain" memberof

but "group1" result.

is there trick let ldap query enumerate member groups recursively?

if not, there solution unix? not matter wheter python, perl, php or c. on web found vb not working on unix.

regards, peter

 

 

 

 

 

here few options:

http://adisfun.blogspot.com/2009/06/find-group-members.html

as far unix platform concerned, run query with the same filter value provided in adfind example - more @ http://dunnry.com/blog/transitivelinkvaluefilterevaluation.aspx

hth
marcin

 



Windows Server  >  Directory Services



Comments

Popular posts from this blog

2008 Windows Deployment Server Properties Error

Can no longer user MS Update - Files required to use Microsoft Update are no longer registered

How do a find data in one file, search for it in another file and if not found, write a custom message to another file