CPM/SRS - winRc=1909: 'The referenced account is currently locked out and may not be logged on to.'
Symptom
When CPM/SRS tries to manage a Windows account, a winRc=1909 error is returned. Depending on which log is viewed, the error may look like the below:
- .Debug.Log:
- Password verification for user [username] on [\\<address>] failed. Error: 1909.
- .log:
- Error in verifypass to user <domain>\<username> on domain \\<address>(\\<address>). Reason: The referenced account is currently locked out and may not be logged on to. (winRc=1909).
- pm.log:
- Error in verifypass to user <domain>\<username> on domain \\<address>(\\<address>). Reason: The referenced account is currently locked out and may not be logged on to. (winRc=1909).
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 verify or change action against an account, local or domain-based, that is locked out. To note, a reconcile action against a locked out account will still be successful.
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=1909 Error Definition:
ERROR_ACCOUNT_LOCKED_OUT
1909 (0x775)
The referenced account is currently locked out and may not be logged on to.
Resolution
To resolve this issue:
- Local Account - Unlock the account in Local Users and Groups (lusrmgr.msc) on the target system.
- Domain Account - Unlock the account in Active Directory.
- Alternatively, if a reconcile account has been associated, the 'UnlockUserOnReconcile' parameter can be enabled on the target account platform. For more on this parameter, see Reconciliation on locked accounts.
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