ldapsearch -LLL -Hldap://<DC> -s sub -x -D "domainuser@XXXX.yyy.zzz" -W -b "OU=domainuser,DC=XXXX,DC=yyy,DC=zzz" "(objectcategory=organizationalunit)" name > OUs.txt
gives you a list of OUs.
Maybe you could then recurse each one and do a similar thing to get the members.
Chris
hi list,
We need list to all of organizational unit's in Active
Directory with members. Its very important for me.
Is there any
idea?
Şimdi aileye katılmanın tam zamanı - Yeni nesil Ücretsiz Windows Live
Hizmetlerini şimdi edinin! Buraya
tıkla!