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