Failed to connect to LDAP host "x.x.x.x" with user "domain\binduser" Code: 21,8
123
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 12:57 PM
Symptom
Exception CALDAPServiceException occurred in class: class CALDAPHost * __ptr64, File name: CALDAPHost.cpp, Line number: 311. Reason is: Failed to connect to LDAP host "x.x.x.x" with user "domain\binduser" Code: 21,8
Failed to connect to LDAP host "x.x.x.x" with user "domain\binduser" Code: 21,8
Environment
10.5;10.10;11.5;11.6;11.7;12.0;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Vault PAM
Cause
LDAP code 8 indicates that LDAP_STRONG_AUTH_REQUIRED, i.e. LDAP over SSL
Reference Website: http://wiki.servicenow.com/index.php?title=LDAP_Error_Codes#gsc.tab=0
Resolution
Use SSL for LDAP Integration.
Key requirements for LDAP over SSL:
1. CA Certificate installed on Vault.
2. Vault able to resolve Domain Controller name by adding it to the hosts file.
3. Server Name in LDAP Configuration should be specified as FQDN instead of IP Address.
4. Port should be 636.
Additional Information
Details
SYMPTOM:
2017-06-28 10:51:42.548 00002728 Exception CALDAPServiceException occurred in class: class CALDAPHost * __ptr64, File name: CALDAPHost.cpp, Line number: 311. Reason is: Failed to connect to LDAP host "x.x.x.x" with user "domain\binduser" Code: 21,8
Failed to connect to LDAP host "x.x.x.x" with user "domain\binduser" Code: 21,8
PROBLEM:
LDAP code 8 indicates that LDAP_STRONG_AUTH_REQUIRED, i.e. LDAP over SSL
Reference Website: http://wiki.servicenow.com/index.php?title=LDAP_Error_Codes#gsc.tab=0
SOLUTION:
Use SSL for LDAP Integration.
Key requirements for LDAP over SSL:
1. CA Certificate installed on Vault.
2. Vault able to resolve Domain Controller name by adding it to the hosts file.
3. Server Name in LDAP Configuration should be speficied as FQDN instead of IP Address.
4. Port should be 636.