CPM: Password not synchronized between the device and the Vault

CPM: Password not synchronized between the device and the Vault

122
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 13:00 PM


Symptom


Changing the password for an account that uses a logon account results in having unsynchronized passwords (the password in the Vault is different from the password on the target system).

Environment


10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0;14.2;14.6 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM) CPM

Cause


The CPM manages both the target account and its logon account and both account's passwords are set to be changed at the same time. The result is that the target account's password is changed on the target system but in the Vault it is rolled back to the previous version because the change password process failed.

Below is a detailed description of the process:
  • Logon account's password is retrieved to be changed and at the same time, it is used as the logon account for the change password process of the target account.
  • The target account's password is changed on the target system and at the same time the logon account password is also changed.
  • The target account goes through the verify stage of the change password process using the original logon account password and fails (the logon account password is no longer valid because it had been changed)
  • The CPM identifies a failure in the change password process of the target account and rolls back the password in the Vault to its previous version
Now the password of the target account in the Vault is not the same as the one on the target system


Resolution


The recommendation is to avoid both passwords being changed at the same time.
In order to do so please follow the below instructions:
  1. Create two separate policies, one for the target account and another for the logon account.
  2. Set the policies to perform the change task at different times using the "FromHour" and "ToHour" parameters in each of the policy files. If the execution times can not be set to be different, an alternate solution is setting the MinValidityPeriod of one of the policies to at least the MinValidityPeriod + the interval of the other policy.
Example:
Policy1:
FromHour=0
ToHour=2
Policy2:
FromHour=2
ToHour=4

or

Policy1:
MinValidityPeriod=180
interval=60
Policy2:
MinValidityPeriod=250


Additional Information


Details

SYMPTOM:
Changing the password for an account that uses a logon account results in having unsynchronized passwords (the password in the Vault is different from the password on the target system)


PROBLEM:
The CPM manages both the target account and it's logon account and both account's passwords are set to be changed at the same time.
The result is that the target account's password is changed on the target system but in the Vault it is rolled back to theĀ  previous version because the change password process failed.
Below is a detailed description of the process:
  1. Logon account's password is retrieved to be changed and at the same time it is used as the logon account for the change password process of the target account
  2. The target account's password is changed on the target system and at the same time the logon account password is also changed.
  3. The target account goes through the verify stage of the change password process using the original logon account password and fails (the logon account password is no longer valid because it had been changed)
  4. The CPM identifies a failure in the change password process of the target account and rolls back the password in the Vault to its previous version
  5. Now the password of the target account in the Vault is not the same as the one on the target system
SOLUTION:
The recommendation is to avoid both passwords to be changed at the same time.
In order to do so please follow the bellow instructions:
  1. Create two separate policies, one for the target account and another for the logon account
  2. Set the policies to perform the change task at different times using the "FromHour" and "ToHour" parameters in each of the policy files
  3. If the execution times can not be set to be different, an alternate solution is setting the MinValidityPeriod of one of the policies to at least the MinValidityPeriod + the interval of the other policy.
Example:
  • Policy1:
    FromHour=0
    ToHour=2
  • Policy2:
    FromHour=2
    ToHour=4
or
  • Policy1:
    MinValidityPeriod=180
    interval=60
  • Policy2:
    MinValidityPeriod=250



Actions
  • Print
  • Copy Link

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