CPM/SRS - winRc=1326: 'The user name or password is incorrect.'

CPM/SRS - winRc=1326: 'The user name or password is incorrect.'

489
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 15:51 PM


Symptom


 

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

 

  • .Debug.Log:
    • Login with user [<domain>\<username>] on [\\<address>] failed. Error: 1326.
  • .log:
    • Error in verifypass to user <domain>\<username> on domain \\<address>(\\<address>). Reason: The username or password is incorrect. (winRc=1326).
  • pm.log:
    • Error in verifypass to user <domain>\<username> on domain \\<address>(\\<address>). Reason: The username or password is incorrect. (winRc=1326).

 



Environment


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

 

CPM/SRS

Windows Target

 



Cause


 

This error can be generated due to multiple different reasons.  However, the most common cause is when the CPM/SRS plugin attempts to perform a verify or change action against an account, local or domain-based, but the password stored in the Vault for that account does not match the password on the target device.  Usually, this is due to the password being rotated on the target, but not rotated within Cyberark.

 

Additional possible reasons for this error include:

 

  • Mismatched 'LAN Manager authentication level' policy settings between the CPM/SRS connector and target device (typically only affects local Windows accounts).
  • Delay in the newly set password on a specific domain controller propagating to other domain controllers.

 

NOTE: This error can also occur during a reconcile action.  However, the error would indicate that the issue lies with the reconcile account itself, NOT the target account.

 

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=1326 Error Definition:
ERROR_LOGON_FAILURE 
1326 (0x52E) 
The username or password is incorrect. 

 



Resolution


 

To resolve this issue when the password for the account in the Vault does not match the password on the target device, you must sync the passwords.  This can be done via two different methods:

 

  • Reconciling the target account
  • Manually syncing the passwords

 

Reconcile the Account

-If a reconcile account is associated (linked) to the target account, either at the account level or platform level, a reconcile action can be run.  This action would set a new password for the account on the target device, thus putting it back in sync with the Vault.

 

Manually Sync the Passwords

-In no particular order, a new password for the account must be set on the target device and in the Vault.

 

Target:

      • Domain Account: Set a new password in Active Directory.
      • Local Account: Set a new password in Local Users & Groups.

PVWA:

      • Select the account in question -> Change -> 'Change the password only in the Vault'

 

 

To resolve the additional potential reasons for this error listed above:

 

Issue: Mismatched 'LAN Manager authentication level' policy settings between the CPM/SRS connector and target device.

Resolution: Ensure that the 'Network security: LAN Manager authentication level' security policy on the CPM/SRS connector and target device are set to the same value.

 

Issue: Delay in the newly set password on a specific domain controller propagating to other domain controllers.

Resolution: Engage Active Directory team to troubleshoot as needed.  For more information, refer to the Microsoft following documentation: Troubleshooting Active Directory Replication Problems

 

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