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.
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.
Quoting "Kantrapati, Bharath" <bharath.kantrapati(a)gs.com>:
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.
g] On Behalf Of Santosh Kumar
Sent: Tuesday, March 10, 2009 11:39 AM
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
# extended LDIF
# base <ou=users,DC=SFBAY,DC=keypairtech,DC=com> with scope subtree
# filter: objectclass=*
# requesting: ALL
# search result
result: 1 Operations error
text: 00000000: LdapErr: DSID-0C090627, comment: In order to perform
ration a successful bind must be completed on the connection., data 0,
# numResponses: 1
i'm looking to extract -b option and -D from AD
Please if anyone is aware let me know.
School of Computing,
University of Utah,
This message was sent using IMP, the Internet Messaging Program.