CPM managed domain admin across domains with no trust

CPM managed domain admin across domains with no trust

93
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:07 PM


Objective


We see the error "not authorized" when trying to manage an admin account in another domain that the CPM is not in, while there is no trust between domains. This is due to Microsoft protected accounts. Only protected accounts in the domain are able to manage other protected accounts. It is possible to create a standard user that is a protected account that has the permissions to manage all accounts in the domain. Due to how protected accounts work, this is an all or nothing situation for all AD objects. The permissions are assigned to all AD objects by the hourly SDProp task replication of the ACL AdminSDHolder object permissions. This is discussed in Microsoft documentation "Creating Management Accounts for Protected Accounts and Groups in Active Directory" https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/manage/component-updates/appendix-i--creating-management-accounts-for-protected-accounts-and-groups-in-active-directory

Environment


v9.0;v9.1;v9.2;9.3;9.5;9.6;9.7;9.8;9.9;9.9.5;9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;14.6

Procedure


I recommend reading the documentation for creating and separating the roles and permissions for managing the protected account more finely then this article has space to outline. 

To assign permissions by using the ACL AdminSDHolder object, start CMD.exe with domain/enterprise admin directly on the target domain controller itself. 

The command Dsacls can be used to add another group or an individual user to the protected accounts list. 

Examples
dsacls structure
dsacls "[\\Computer\]ObjectDN" [/A] [/D PermissionStatement [PermissionStatement...]] [/G PermissionStatement [PermissionStatement...]] [/I:{T | S | P}] [/N] [/P:{Y | N}] [/R {user | group} [{user | group}...]] [/S [/T]] [/?]

Grant the custom group "Reconcile Accounts" the Control Access right "Reset Password" to the admin ACL "AdminSDHolder" the exists in the system directory for the domain "domain.testsite.com"
dsacls “CN=AdminSDHolder,CN=System,DC=domain,DC=testsite,DC=com” /G “ReconcileAccounts:CA;Reset Password”

Grant the standard user "caexternalrec" the "Read Property Write Property" right to the admin ACL "AdminSDHolder" "members" that exists in the system directory for the domain "domain.testsite.com"
Dsacls "CN=AdminSDHolder,CN=System,DC=domain,DC=testsite,DC=com /G caexternalrec@domain.testsite.com:RPWP;member



Actions
  • Print
  • Copy Link

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