PVWA - New LDAP users cannot login

PVWA - New LDAP users cannot login

129
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:01 PM


Symptom


Only new LDAP users fail to login. Existing users are not affected.


Environment


12.2;12.6;12.7;13.0;13.2 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access
  • PVWA 
  • LDAP
  • Authentication


Cause


If the issue affects only new users, there is a good chance that the issue is with the LDAP connection.
Existing users have already a user created in the vault and can login while for the new users the Vault need to query LDAP and if the connection cannot be established, the login fails.

The cause can be a network issue or simply the bind user not able to login to the ldap.
The bind user may be locked in the Vault or the password not in synch.


Resolution


Check the LDAP integration:
Go to the administration, select LDAP integration and click on the save button has if you would have changed any settings. This will test the connection with the existing configuration and will tell you if it succeed or if there is an issue with that.
If the check fail with the error "Failed to connect to LDAP host "<host>" with user "<binduser>". Code(21, 49) (21)", check if the user i locked in the Vault and eventually change the password. Check the following article:
https://community.cyberark.com/s/article/Vault-LDAP-connection-fails-with-code-21-49-visible-in-ldapverify

If this does not help, please open a support case and provide logs as follow:
Enable debugging on the Vault and PVWA, reproduce the issue and provide new logs:
In PVWA, navigate to "Administration" --> Go to "Options" -->
Select "Logging" and set parameters as of the following:
* DebugLevel=High
* InformationLevel=High

On the Vault:
1. Launch Server Console (PrivateArk Server application on vault desktop), go to Administration -> Set Debug Level -> Set Dynamically
2. Enter PE(1),PERF(1,2),LDAP(14,15),AUTH(2) and click OK

Have the user login and take a screenshot of the error, provide the user name, the exact time of the test and provide the PVWA and Vault logs:
From the vault server, get these files:

* Italog.log (\PrivateArk\Server\Logs)
* Trace.d* (\PrivateArk\Server\Logs) !!make sure it covers the time of the issue otherwise search for the log covering it in \PrivateArk\Server\Logs\Archive !!

From the PVWA server, get PVWA.App.log covering the test.
From the PVWA gui, get a screenshot of the LDAP integration verify showing the error message.


Actions
  • Print
  • Copy Link

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