CPM/SRS - winRc=1325: 'Unable to update the password. The value provided for the new password does not meet the length, complexity, or history requirements of the domain.'

CPM/SRS - winRc=1325: 'Unable to update the password. The value provided for the new password does not meet the length, complexity, or history requirements of the domain.'

150
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:06 PM


Symptom


 

When CPM/SRS tries to manage a Windows account, a winRc=1325 error is returned.  Depending on which log is viewed, the error may look like the below:

 

  • .Debug.Log:
    • Changing password for user [<domain>\<username>] on [\\<address>] failed. Error: 1325.
  • .log:
    • Error in changepass to user <domain>\<username> on domain \\<address>(\\<address>).(winRc=1325) Unable to update the password.  The value provided for the new password does not meet the length, complexity, or history requirements of the domain.
  • pm.log:
    • Error in changepass to user <domain>\<username> on domain \\<address>(\\<address>).(winRc=1325) Unable to update the password.  The value provided for the new password does not meet the length, complexity, or history requirements of the domain.

 



Environment


Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM);Secrets Rotation Service (SRS)

 

CPM/SRS

Windows Target

 



Cause


 

This error is generated when the CPM/sRS plugin attempts to perform a change action against an account, local or domain-based, where one (or both) of the following conditions apply:

 

  • The current password for the account is 64 characters in length or greater.
  • The password the CPM/sRS is attempting to set for the account is 64 characters in length or greater.

 

To note, the password length limitation is a known issue.  The CPM/SRS plugin is a framework, utilizing Microsoft's Windows API commands to manage Windows passwords.  While the Windows API commands can support passwords up to 127 characters in length, the CPM/sRS plugin can only support passwords up to 63 characters in length.  Please refer to the following article: KI#00015060: PMWindows plugin - Password limitation length

 

winRc stands for Windows Return Code.  Windows Return Codes are generated by Windows systems.  The return code shown in the CPM/SRS logs and PVWA UI is from the target Windows machine and not from CPM/SRS.

winRc=1325 Error Definition:
ERROR_PASSWORD_RESTRICTION 
1325 (0x52D) 
Unable to update the password. The value provided for the new password does not meet the length, complexity, or history requirements of the domain. 

 



Resolution


 

To resolve this issue when the current password is 64 characters, or greater, in length, you must either:

 

  • Manually update the password on the target device to be shorter than 64 characters, and then set this new password for the account object in the Vault.
  • Use a reconcile account to reset the password of the target account.

 

To resolve this issue when CPM/SRS is attempting to set a password that is 64 characters, or greater, in length, edit the relevant platform in PVWA and go to Automatic Password Management -> Generate Password.  Set the PasswordLength parameter to a value smaller than 64.

 

Resources:
How does CPM Manage Windows Accounts Passwords

Windows System Error Codes
Windows Network Management Error Codes
Windows Routing and Remote Access Error Codes
Windows Sockets Error Codes

 



Actions
  • Print
  • Copy Link

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