When setting up LDAP, these are some common failure responses along with their solutions.
LDAP authentication failed: LDAP Result Code 10 "Referral": 0000202B: RefErr: DSID-031007EF, data 0, 1 access points ref 1: 'rallyonprem.local'
LDAP authentication failed: LDAP Result Code 32 "No Such Object": 0000208D: NameErr: DSID-0310020A, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=rally,DC=net'
This indicates that the appliance is able to bind to the LDAP server, however there is an issue with the distinguished name. The following are some things to check:
LDAP authentication failed: LDAP Result Code 34 "Invalid DN Syntax": 0000208F: NameErr: DSID-031001F7, problem 2006 (BAD_NAME), data 8350, best match of: 'sdf,DC=rally,DC=net'
LDAP authentication failed: LDAP Result Code 49 "Invalid Credentials": 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1
LDAP authentication failed: LDAP Result Code 200 "": ldap: could not retrieve response
LDAP authentication failed: LDAP Result Code 200 "": dial tcp 10.74.214.200:626: connect: connection refused
LDAP authentication failed: LDAP Result Code 201 "": ldap: finished compiling filter with extra at end: )
LDAP authentication failed: User must be a member of one of the restricted groups
LDAP authentication failed: Login user not found
The user specified in the "Test username" field can not be located or authenticated. Check the following: