Wim Deblauwe
Wim Deblauwe

Reputation: 26858

AcceptSecurityContext error when using ldapsearch against Active Directory

I am using ldapsearch to try to connect to an Active Directory LDAP server using this command (running on Ubuntu Linux):

ldapsearch -H ldap://SRV001 -D acme\SVC_LDAP_A -w mySecretPassword

However, I get:

ldap_bind: Invalid credentials (49)
    additional info: 80090308: LdapErr: DSID-0C0903D9, comment: AcceptSecurityContext error, data 52e, v2580

Upvotes: 2

Views: 8278

Answers (1)

Wim Deblauwe
Wim Deblauwe

Reputation: 26858

The problem was that you need to quote the username, so change the command to:

ldapsearch -H ldap://SRV001 -D "acme\SVC_LDAP_A" -w mySecretPassword

Upvotes: 1

Related Questions