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.





From: openldap-technical-bounces+bharath.kantrapati=gs.com@OpenLDAP.org [mailto:openldap-technical-bounces+bharath.kantrapati=gs.com@OpenLDAP.org] 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 -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.


Image removed by sender. Moneywiz