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


From: openldap-technical-bounces+chris.clemson=ihg.com@OpenLDAP.org [mailto:openldap-technical-bounces+chris.clemson=ihg.com@OpenLDAP.org] On Behalf Of Emre Yilmaz
Sent: 30 July 2008 13:56
To: openldap-technical@openldap.org
Subject: Organizational Unit Listing

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!