How to Reconcile a Domain Admin Account Without Domain Admin Membership for the Reconcile Account

How to Reconcile a Domain Admin Account Without Domain Admin Membership for the Reconcile Account

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


Objective


This guide provides step-by-step instructions on reconciling a Domain Admin account without requiring a Domain Admin membership.


Environment


10.5;10.10;11.5;11.6;11.7;12.0;12.2;12.6;13.0;14.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)

Procedure


Note: The topic discussed below, protected accounts and AdminSDHolder, is a feature of the Microsoft Active Directory solution which is maintained and supported by Microsoft.  Microsoft may change or discontinued this feature at any time.  More information can be found on this topic by contacting Microsoft or visiting their online support systems.  Idira has provided this article as an example on how this feature can be configured as of the time of this writing based on CyberArk's understanding of the feature.  Any support regarding the actual usage and configuration of this feature should be directed to Microsoft.

Accounts that are members of the "Domain Admin" group, along with a pre-defined list of other groups, are considered protected accounts and have additional pre-configured controls. One of these controls is not inheriting their ACL from their location in the domain but from the ACL of an object called "AdminSDHolder" located in the System container. Every 60 mins a process called SDPROP is run by the PDCE to ensure that inheritance of the local ACL is disabled on all protected accounts and those account ACLs are updated to match the ACL of AdminSDHolder. 

To get a list of all protected accounts you can run the following command in PowerShell:
Get-ADObject -LDAPFilter "(adminCount=1)"

Note
: When an account is added to a protected group SDPROP updates the attribute "adminCount" to 1, however when an account is removed from all protected groups SDPROP does NOT remove adminCount or update its value.
 
The ability to make remote calls to SAM (Security Accounts Manager) on domain controlers is required for all reconcile account regardless of whether it will manage members of protected groups. By default, members of "Domain Admins" have this ability. All reconcile accounts that are not a member of "Domain Admins" will need to be granted that ability. You can grant the ability to make remote calls to SAM on domain controllers by granting remote access to the reconcile account, or a group it is a member of, in "Network access: Restrict clients allowed to make remote calls to SAM". This setting is located at "Computer Configuration|Windows Settings|Security Settings|Local Policies|Security Options" in a Group Policy Object applied to the Domain Controller(s). The ability to remotely call SAM on non-domain controller computers is not required to reconcile domain accounts, however this ability may be required on non-domain computers to reconcile accounts local to that computer.

If this ability is not granted, the CPM will return an error of 5 with a return code of 2121 when attempting to reconcile accounts.

For more information, please see the page from Microsoft below.
Network access - Restrict clients allowed to make remote calls to SAM
 
By default, the only group with the ability to reset passwords on the AdminSDHolder object is "Domain Admin". To use an account that is not a member of "Domain Admin" as a reconcile account the account must be granted the necessary privileges to the AdminSDHolder object.

The full list of permissions possibly required by a Reconcile Account include the following.
  • Reset Password
  • Change security information
  • Read and Write to Account Restrictions
  • Read and Write to LockoutTime
In order to grant your reconcile account the ability to reset the password for members of protected groups, you must add that permission to the AdminSDHolder object

Below is an example of using dsacls.exe to grant "Reset Password" permissions:
Domain: lab.local
Reconcile account: PGPassMgrs group.


dsacls.exe CN=AdminSDHolder,CN=System,DC=lab,DC=local /G lab\PGPassMgrs:CA;"Reset Password"
This command grants the "Reset Password" permission to members of the non-privileged group "PGPassMgrs" on the AdminSDHolder Object.

Once the command is run, you must wait for the SDPROP process to apply the updated AdminSDHolder ACL to all protected accounts.  This process is started, by default, every 60 minutes.

After the ACL has been propagated, your Reconcile account will be able to reconcile Domain Admin accounts as well as other accounts in Protected Groups.  

---------------------------------------------------------------------------------------------------------------

If the platform is configured with "UnlockUserOnReconcile" set to "Yes" the ability to change security information and read and write to "Account Restrictions" and "LockOuttime" is also required. 
 
Below is an example of using dsacls.exe to grant these additional permissions:
Domain: lab.local
Reconcile account: PGPassMgrs group


dsacls.exe CN=AdminSDHolder,CN=System,DC=lab,DC=local /G lab\PGPassMgrs:WD
dsacls.exe CN=AdminSDHolder,CN=System,DC=lab,DC=local /G lab\PGPassMgrs:WPRP;"LockoutTime"
dsacls.exe CN=AdminSDHolder,CN=System,DC=lab,DC=local /G lab\PGPassMgrs:WPRP;"account restrictions" 
This command grants the permission "Change security information", and the permissions of Read and Write to "Account Restrictions" and "LockoutTime" on the AdminSDHolder Object.
 
Note: If the platform is configured for "UnlockUserOnReconcile", and these permissions are not granted, the CPM will receive the following error when reconciliation is attempted, and the target account is locked out.
 
CACPM406E Reconciling Master Safe: <safe>, Folder: <folder>, Object: <object> failed (try #<attempt>). Code: 2101, Error: Error in reconcilepass to user <target account> on domain <domain>. Reason: The workstation driver is not installed. (winRc=2102). Reconcile account details - Safe: <safe>, Folder: <folder>, Object: <reconcile account> The CPM is trying to reconcile this password because its status matches the following search criteria: ResetImmediately.

For a list of the Protected Accounts and Groups in Active Directory by version and more information about protected groups, please see the URLs below.
Appendix C - Protected Accounts and Groups in Active Directory | Microsoft Learn
Protected Users Security Group | Microsoft Learn


Note: These instructions show how to grant a reconcile account or group the ability to manage accounts that are members of protected groups. These instructions do not show how to grant the reconcile account the ability to manage accounts that are not members of protected groups. Permissions to reconcile accounts not in protected groups will need to be granted at the domain, OU, and/or user object level either directly to the account or via a group the account is a member of.



Additional Information


Details

Q:
How do I reconcile a domain admin account without granting domain admin membership to the reconcile account?
 
A:
Note: The topic discussed below is a feature of the Microsoft Active Directory solution and is not supported by CyberArk.  It is subject to change by Microsoft.  More information can be found on this topic by contacting Microsoft or visiting their online support systems.
 
The reconcile account must be granted the necessary privileges to perform a password reset:
Reset Password
Domain Admin accounts, along with a list of other groups, are protected.  If you change the ACL on a member of the Domain Admins group, Active Directory will eventually change the ACL back based on a secure template.  This template is AdminSDHolder and is always found in the System container.
 
In order to grant your reconcile account the ability to change the password for members of protected groups, you must add that permission to the AdminSDHolder template
 
You do so by using the dsacls.exe utility
 
For Example:
Domain: ca.lab
New Group for Password Reset of Protected Groups:  PGPassMgrs
Reconcile account is a member of PGPassMgrs
dsacls.exe CN=AdminSDHolder,CN=System,DC=ca,DC=lab /G CA\PGPassMgrs:CA;"Reset Password"
The above grants Reset Password permissions to CA\PGPassMgrs on all accounts that will receive the AdminSDHolder template.
Once the command is run, you must wait for the SDPROP process to apply the template.  This process is started, by default, every 60 mintues.
After the permissions have been propagated, your Reconcile account will be able to reconcile Domain Admin accounts as well as other accounts in Protected Groups.  It will not, however, have all of the other privileges granted to a standard domain admin account.
 
If you wish to have the account unlocked on reconciliation, additional permissions are required:
 
**Enhancements were made as of PAS 9.10 which enable the use of a more restrictive permission set**
 
For PAS 9.10 and newer the following are required:
Read Property, LockoutTime
Write Property, LockoutTime
For PAS versions prior to 9.10, the following are required:
Modify Permissions
Read Property, account restrictions
Write Property, account restrictions
Below is an example of using dsacls.exe to grant these additional permissions
 
PAS 9.10 and newer
dsacls.exe CN=AdminSDHolder,CN=System,DC=ca,DC=lab /G CA\PGPassMgrs:RP;LockoutTime CA\PGPassMgrs:WP;LockoutTime
 
PAS versions prior to 9.10
dsacls.exe CN=AdminSDHolder,CN=System,DC=ca,DC=lab /G CA\PGPassMgrs:WD CA\PGPassMgrs:RP;"account restrictions" CA\PGPassMgrs:WP;"account restrictions"
 
Note: If the platform is configured for "UnlockUserOnReconcile", and these permissions are not granted, the CPM will receive the following error when reconciliation is attempted and the target account is locked out.
 
CACPM406E Reconciling Master Safe: <safe>, Folder: <folder>, Object: <object> failed (try #<attempt>). Code: 2101, Error: Error in reconcilepass to user <target account> on domain <domain>. Reason: The workstation driver is not installed. (winRc=2102). Reconcile account details - Safe: <safe>, Folder: <folder>, Object: <reconcile account> The CPM is trying to reconcile this password because its status matches the following search criteria: ResetImmediately.
 
Lists of the protected accounts and groups in Active Directory for Windows server 2003 - 2016 which retrieve the AdminSDHolder template can be found in Microsofts documentation at the URL below:

https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/plan/security-best-practices/appendix-c--protected-accounts-and-groups-in-active-directory


Actions
  • Print
  • Copy Link

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