CPM - Error "password authentication failed for user" and PostgreSQL Plugin Forbidden Characters

CPM - Error "password authentication failed for user" and PostgreSQL Plugin Forbidden Characters

178
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 15:56 PM


Symptom


Customer is able to successfully change a password using the PostgreSQL plugin, but when trying to verify the password of the same account or do another change, the PVWA may give the error:
"State: 08001 Native error: 101 Message: FATAL: password authentication failed for user <username>." 

This error may occur intermittently depending on the special characters used in the generated password.


Environment


10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;12.7;13.0;13.2;13.1;14.0 Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM)
  • Central Policy Manager (CPM)
  • PostgreSQL Plugin


Cause


The default list of forbidden characters does not include all possible special characters that will cause the ODBC connection string used by the PostgreSQL driver to fail.


Resolution


A more complete list of the forbidden characters is this: -$'\/@".;{}()*>~!^#[],:+=<%|
Update the password forbidden characters parameter on the PostgreSQL platform policy to use this list.


Actions
  • Print
  • Copy Link

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