LDAP Bind request failing
        Posted  
        
            by 
                Madhur Ahuja
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Madhur Ahuja
        
        
        
        Published on 2012-12-09T14:54:59Z
        Indexed on 
            2012/12/09
            17:06 UTC
        
        
        Read the original article
        Hit count: 413
        
ldap
|ldapsearch
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 ?
© Server Fault or respective owner