Vault - Failed to connect to LDAP (Connection failed... Server Down, Code: 81), 25 )
Symptom
When trying to browse LDAP from the PrivateArk client, the following message is received:
Failed to connect to LDAP (Connection failed to all hosts of <LDAP_server_name> LDAP directory (Last host name: <LDAP_IP>, Last LDAP error: Server Down, Code: 81), 25)
Environment
v4.5;v4.6;v5.0;v5.5;v6.0;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;20.7;21.1;14.6
Cause
-
The LDAP server is unavailable (i.e. the server is actually down)
-
User is browsing from PrivateArk client installed on the Vault server (it is not possible to browse the LDAP directory because the firewall will block communication)
-
If LDAPS is being used, invalid / missing / out of date certificate
-
Network issue preventing communication between vault and LDAP
Resolution
-
Verify the LDAP server is up and available. This can be done by running the following command from the /server/ folder:
CAvaultmanager.exe ldapverify /verbose > ldapverify.txt
-
Try browsing the LDAP from a client other than the one on the Vault server (such as LDP). If you're unable to browse LDAP from another client machine it means that there's a communication problem from that client to the LDAP server.
-
Verify the existence of the cert on the server from which you are connecting (It is required for Directory Browing by the client). If it is - check its validity and expiration date.
Note: All "regular" operations (such as authentication) are handled by the Vault Server and do not require direct communication from the Client to the LDAP server.
Additional Information
Details
When trying to browse the LDAP the following message is received:
Failed to connect to LDAP (Connection failed to all hosts of <LDAP_server_name> LDAP directory (Last host name: <LDAP_IP>, Last LDAP error: Server Down, Code: 81), 25)