Hi Santosh,
If you want to anonymous queries you can easily do that in Microsoft ADS.The link below is an excellent resource for doing that.I have myself achieved success with this knowhow.
http://www.petri.co.il/anonymous_ldap_operations_in_windows_2003_ad.htm
By default, you can query the root node but not any hiererchy but with this you can query anything. Let me know if it works or not.
Thanks,
Sankhadip
Quoting "Kantrapati, Bharath" bharath.kantrapati@gs.com:
Hi santosh,
Your mail is not clear , what is it you are exactly looking for??
But as the error says the objects you are trying to query would require you to bind to the active directory with a set of credentials.
Regards
Bharath
From: openldap-technical-bounces+bharath.kantrapati=gs.com@OpenLDAP.org [mailto:openldap-technical-bounces+bharath.kantrapati=gs.com@OpenLDAP.or g] On Behalf Of Santosh Kumar Sent: Tuesday, March 10, 2009 11:39 AM To: openldap-technical@openldap.org Subject: ldap-client connection to AD - LdapErr: DSID-0C090627,
Trying to query Active Directory via command line for searching all Please let me know what this error refers to
./ldapsearch -h 10.10.10.50 -b "ou=users,DC=SFBAY,DC=tech,DC=com" -s sub "objectclass=*"
# extended LDIF # # LDAPv3 # base <ou=users,DC=SFBAY,DC=keypairtech,DC=com> with scope subtree # filter: objectclass=* # requesting: ALL #
# search result search: 2 result: 1 Operations error text: 00000000: LdapErr: DSID-0C090627, comment: In order to perform this ope ration a successful bind must be completed on the connection., data 0, vece
# numResponses: 1 i'm looking to extract -b option and -D from AD Please if anyone is aware let me know.
Thanks Santosh