CPM: Code: 5010, Error: Error when verifypass to User sa on Server xxx Error: Failed to Serialize string
157
Created On 11/10/26 10:57 AM - Last Modified 11/10/26 12:58 PM
Symptom
The following error occur when CPM is attempting to perform password management on Microsoft SQL Server Database Local Account:
Code: 5010, Error: Error when verifypass to User sa on Server xxx Error: Failed to Serialize string
Environment
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 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)
Cause
The issue occurs due to mandatory Database parameter in the ConnectionCommand under PVWA > Administration > Platform Management > {platform_name} > Target Account Platform > Automatic Password Management > Additional Policy Settings.
Default ConnectionCommand=Driver={SQL Server};Server=%ADDRESS%;Database=%DATABASE%;Uid=%USER%;Pwd=%LOGONPASSWORD%;
Resolution
Update ConnectionCommand to set Database parameter as Optional by adding [] to the ConnectionCommand.
Once the changes is saved, restart CPM.
Attempt to verify or change password.
The ConnectionCommand should look like the example below:
ConnectionCommand=Driver={SQL Server};Server=%ADDRESS%;[Database=%DATABASE%;]Uid=%USER%;Pwd=%LOGONPASSWORD%;
Additional Information
Details
SYMPTOM:
The following error occur when CPM is attempting to perform password management on Microsoft SQL Server Database Local Account:
Code: 5010, Error: Error when verifypass to User sa on Server xxx Error: Failed to Serialize string
PROBLEM:
The issue occurs due to mandatory Database parameter in the ConnectionCommand under PVWA > Administration > Platform Management > {platform_name} > Target Account Platform > Automatic Password Management > Additional Policy Settings.
Default ConnectionCommand=Driver={SQL Server};Server=%ADDRESS%;Database=%DATABASE%;Uid=%USER%;Pwd=%LOGONPASSWORD%;
SOLUTION:
- Update ConnectionCommand to set Database parameter as Optional by adding [] to the ConnectionCommand.
- Once the changes is saved, restart CPM.
- Attempt to verify or change password.
The ConnectionCommand should look like the example below:
ConnectionCommand=Driver={SQL Server};Server=%ADDRESS%;[Database=%DATABASE%;]Uid=%USER%;Pwd=%LOGONPASSWORD%;