PSM cannot connect to target machines which require the use of the PSM Shadow Users due to password complexity requirements not being met.
125
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:08 PM
Symptom
When connecting to a target machine such as a database which requires the use of the PSM Shadow Users to log in and proxy the connection, the following error is returned, and the session terminates:
"PSMSR358E Failed to generate a local user password. Error: CASGP007E Password generation error. Password policy defines effective length shorter than sum of required password components (Diagnostic information: 1,4)"
Environment
10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8 PSM Connection Component which requires the use of a Shadow User using PSM v10.x
Cause
The PSM is attempting to set/change the password for the PSM Shadow User. The minimum password complexity or length for the Windows users on the PSM machine is more restrictive than the policy set within the system configuration for the PSM which causes the error to appear when the PSM attempts to set a password that does not meet the policy for the Shadow Users.
Resolution
From the PVWA:
Log in with a user that is able to modify settings (such as administrator).
Navigate to the System Configuration / ADMINISTRATION tab ->
Options ->
Privileged Session Management ->
General Settings ->
Server Settings ->
Advanced Settings ->
Password Policy
Set the policy to be equal to, or more restrictive than the password policy for the PSM Windows users. For example, if the Windows user password policy on the PSM requires 8 characters, it is required to set the PasswordLength parameter to at least 8 or more characters. For Windows machines that are domain members, the domain password policy can be revealed by issuing the "net accounts" command from the command prompt. The output of this command will return the password policy to the screen.
NOTE: If 'Password Policy' does not exist in the tree under 'Advanced Settings', right click 'Advanced Settings' and select 'Add Password Policy'.
Once any changes are made, click 'Apply' and then restart the PSM service on all PSM machines.
CAUTION: Restarting the Idira Privileged Session Manager service on the PSM machines will terminate any active PSM user sessions. To prevent user sessions from terminating, you may choose to wait for the PSM refresh cycle to occur on its own. This may take up to 10 minutes by default.