How does the CPM autodetect computers that have been moved to another OU in Active Directory?

How does the CPM autodetect computers that have been moved to another OU in Active Directory?

95
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 12:55 PM


Objective


How does the CPM autodetect computers that have been moved to another OU in Active Directory?



Environment


9.10;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 Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM)

Procedure


If the AD computer is moved from one OU to another OU, you should first verify that the existing LDAP query filter (ADBaseContext, ADContainerQueryFilter,ADQueryFilter...etc.) will continue to detect the computer from the new OU. If it does, the Vault will match the SIDs. You should notice no change because the computer accounts are simply moved.  If the existing LDAP query filter does not scan the new OU location, you will need to update the LDAP Query in the policy, save it, and restart the CPM. The next time Automatic Detection occurs, it will re-detect the computer with the appropriate SIDs.
 

One thing to ensure is that there is a 1-to-1 relationship between the Safe containing the passwords and the specific Auto Detection rule in the policy. The Safe should be dedicated to a particular Auto Detection policy rule and not shared with any other policy. There is a 1-to-1 mapping between the computer SID in the Safe and the SID of the computer account in the OU.
 

Auto detection is a two-way synchronization. Safes that are specified for auto-detected passwords will be refreshed each time the CPM scans the Active Directory. Any passwords that are created manually (rather than auto-detected) in these Safes will be deleted and will not be accessible. If the Vault sees a SID in the Safe that is no longer in the OU you are auto detecting from, it will put the password object in the Archive folder as specified in ADArchiveFolder. If you have ADDeleteOnArchive=Yes, the password objects will be deleted when they are no longer detected.



Additional Information


Details

Q:

How does the CPM autodetect computers that have been moved to another OU in Active Directory?

 

A:

If the AD computer is moved from one OU to another OU, you should first verify that the existing LDAP query filter (ADBaseContext, ADContainerQueryFilter,ADQueryFilter...etc.) will continue to detect the computer from the new OU. If it does, the Vault will match the SIDs. You should notice no change because the computer accounts are simply moved.  If the existing LDAP query filter does not scan the new OU location, you will need to update the LDAP Query in the policy, save it, and restart the CPM. The next time Automatic Detection occurs, it will re-detect the computer with the appropriate SIDs.

 

One thing to ensure is that there is a 1-to-1 relationship between the Safe containing the passwords and the specific Auto Detection rule in the policy. The Safe should be dedicated to a particular Auto Detection policy rule and not shared with any other policy. There is a 1 to 1 mapping between the computer SID in the Safe and the SID of the computer account in the OU.

 

Auto detection is a two-way synchronization. Safes that are specified for auto-detected passwords will be refreshed each time the CPM scans the Active Directory. Any passwords that are created manually (rather than auto-detected) in these Safes will be deleted and will not be accessible. If the Vault sees a SID in the Safe that is no longer in the OU you are auto detecting from, it will put the password object in the Archive folder as specified in ADArchiveFolder. If you have ADDeleteOnArchive=Yes, the password objects will be deleted when they are no longer detected.

 

 




Actions
  • Print
  • Copy Link

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