CPM/SRS - How the PMWindows.dll plugin handles the outcome of various Verify action attempts
126
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 15:56 PM
Question
Why do certain Verify actions run against Windows accounts show as successful in PVWA and the pm log, but also show errors in the debug log?
Environment
Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM);Secrets Rotation Service (SRS)
Answer
It has been observed that if a Windows account, assigned to a platform using PMWindows.dll (that is, a platform that does NOT use LDAP), has certain configurations and/or restrictions in place such that any of the Windows Return Code (winRc) errors listed below are returned during a Verify attempt, the logged output is not always what one might expect.
If a Verify attempt results in any of these winRc errors, the attempt is considered successful. The Verify attempt is considered successful because those winRc errors can only be reached if the current password in the Vault for the given account object is correct, even though the overall logon attempt fails. This is important to note because, for accounts that are in any of these error state conditions, the password needs to be changed. When accounts are in any of these states, the only available methods to rotate the password are:
- Use a linked reconcile account (at the account or platform level) to reset the target account password.
- Manually update the password external to Idira and then set this new password in the Vault.
For target accounts with configurations and/or restrictions in place such that any of these winRc errors are returned, and based on the assumption that a linked reconcile account exists and is NOT experiencing any of these issues, the following tables detail the expected outcome of each CPM action as shown in PVWA, as well as what each CPM log would be expected to contain:
NOTE: The following return code error text is synonymous:
-
- Windows RC = Windows Return Code (winRc)
- CPM RC = CPM Return Code
Also to note, the expected outcome of winRc codes 1907, 1208, and 1330 is the same. For this reason, they are combined into a single table.
| winRc=1907/1208/1330 | Verify | Change | Reconcile |
| PVWA UI | Success | Failure | Success |
| .debug.log file | Windows RC: [0]. CPM RC: [0] | Windows RC: [5]. CPM RC: [2121] | Windows RC: [0]. CPM RC: [0] |
| .log file | No entry | (winRc=5) Access is denied. | No entry |
| pm.log file | Password verification...succeeded. | Operation...failed. | Reconciliation...succeeded. |
NOTE: winRc=1907/1330: A successful reconcile action also results in the 'The user's password must be changed before signing in.' flag being cleared in Active Directory and/or Local Users and Groups for the target account.
NOTE: winRc=1208: A successful reconcile action does NOT change the fact that the target account is still marked as expired in Active Directory and/or Local Users and Groups.
| winRc=1330 | Verify | Change | Reconcile |
| PVWA UI | Success | Failure | Success |
| .debug.log file | Windows RC: [0]. CPM RC: [0] | Windows RC: [1351]. CPM RC: [2101] | Windows RC: [0]. CPM RC: [0] |
| .log file | No entry | (winRc=1351) Configuration information could not be read...Access is denied. | No entry |
| pm.log file | Password verification...succeeded. | Operation...failed. | Reconciliation...succeeded. |
NOTE: A successful reconcile action does NOT change the fact that the target account is still restricted via Group Policy from logging onto a device from the network.