LDAP Bind request failing
- by Madhur Ahuja
I have a Windows Server 2008 R2 Active Directory domain controller with domain madhurmoss.com
I have a Linux box which is trying to connect to LDAP (389) on above box, which is failing.
Upon inspection in Wireshark, I see a bind request with following query
sAMAccountName=Administrator,DC=madhurmoss,DC=com
and result with
invalid Credentials 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db0
I want it to connect it through Administrator which lies in
CN=Administrator,CN=Users,DC=madhurmoss,DC=com
The supplied credentials are correct. I believe the query sAMAccountName=Administrator,DC=madhurmoss,DC=com is wrong.
Can anyone guide me what could be wrong ?