CPM/SRS - winRc=1330: 'The password for this account has expired.'

CPM/SRS - winRc=1330: 'The password for this account has expired.'

201
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:08 PM


Symptom



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

 

  • .Debug.Log:
    • Connecting with user [<domain>\<username>] to [\\<address>\ipc$] failed. Error: 1208.
  • .log:
    • Note: If the CPM/SRS action is verify, you won't see this log because it was not generated.
  • pm.log:
    • Note: If the CPM/SRS action is verify, you won't see a failure entry in the log because there isn't one.

 

NOTE: While the error code returned is 1208, the error text may be 'An extended error has occurred.' OR 'The password for this account has expired.'  The error code matching 'The password for this account has expired.' is 1330.

 



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 is attempts to perform a verify action against an account, local or domain-based, but the password for the account has expired.  While the error code and/or text may be misleading, this can be troubleshot by reviewing the pwdLastSet attribute in Active Directory, or the PasswordExpires attribute via the Net User Windows API command for local accounts.

 

NOTE: When the password for the account has expired, a verify action will produce a winRc=1208 or winRC=1330 error.  However, change and reconcile actions against the account produce different results.  For more information, review this KB: How the PMWindows.dll plugin handles the outcome of various Verify action attempts

 


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=1330 Error Definition:
ERROR_PASSWORD_EXPIRED
1330 (0x532) 
The password for this account has expired.

 



Resolution



To resolve this issue, the password must be manually updated on the target (Local Users and Groups or Active Directory), and that new password must also be set on the account object in the Vault.  Alternatively, if a reconcile account is associated, a reconcile action can be run against the account.



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=kA1hj0000001UDmCAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail