KB-1212 "Unable to bind to LDAP server" error thrown when attempting to run a test filter


When configuring the LDAP Sync application, users will attempt to run a test filter but will not be able to due to an authentication failure:

Unable to bind to LDAP server: javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903A8, comment: AcceptSecurityContext error, data 52e, v1db1 ]

The LDAP Sync tool requires a successful run of a test filter so users will not be able to progress further than this point.


There is an issue with the third-party credential mapped to the LDAP Tools plug-in.


Please be sure to double check the username and password fields of the third-party credential.

Take note:

  • You must use the key value, not the name, to reference the third-party credential in the LDAP Sync configuration form.
  • In the third-party credential:
    • There should be two fields with names "username" and "password", all lower-case.
    • The "username" may need to be the full distinguished name.
    • The "password" is case sensitive.

Refer to the LDAP Synchronization documentation for more information.

You can also refer to the Microsoft documentation on LDAP distinguished names here:https://msdn.microsoft.com/en-us/library/aa366101(v=vs.85).aspx

Affected Versions

This article applies to Appian 7.10 and later.

Last Reviewed: March 2017