Login with LDAP fails over port 389 (Code: 21,8)

Login with LDAP fails over port 389 (Code: 21,8)

114
Created On 11/10/26 11:03 AM - Last Modified 11/10/26 13:01 PM


Symptom


LDAP authentication fails for PVWA and PrivateArk users.

In the Trace log we can see error similar to this:
Exception CALDAPServiceException occurred in class: class CALDAPHost * __ptr64, File name: CALDAPHost.cpp, Line number: 311. Reason is: Failed to connect to LDAP host "10.100.92.11" with user "<bind username>" Code: 21,8 


Environment


10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0;13.2 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access;Vault
  • Vault
  • PVWA


Cause


Domain Controller is set to require LDAPS for connections to the directory. The GPO setting responsible for the problem : "Domain Controller: LDAP server signing requirements = Require Signing".

Resolution


Change LDAP Integration for the affected directory to use LDAPS (SSL) for connections to the Domain Controller. 
In the PVWA | Administration | LDAP Integration | <Directory Name> | Hosts | Host.
Set Port to be "636".
Set SSL Connect to "Yes".

Note:
LDAP Error/Data code: 21
Error: LDAP_INVALID_SYNTAX
Description : Indicates that the attribute value specified in an add, compare, or modify operation is an unrecognized or invalid syntax for the attribute.

LDAP Error/Data code: 8
Error: LDAP_STRONG_AUTH_REQUIRED
Description : Indicates one of the following: In bind requests, the LDAP server accepts only strong authentication.

In a client request, the client requested an operation such as delete that requires strong authentication. In an unsolicited notice of disconnection, the LDAP server discovers the security protecting the communication between the client and server has unexpectedly failed or been compromised.


Additional Information


Details

LDAP authentication fails for PVWA and PrivateArk users.




Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001VwICAU&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail