Delegation/Joining Machines to a Domain: Difference between revisions
From SambaWiki
Mmuehlfeld (talk | contribs) m (Added category) |
m (fixed typo in a code tag) |
||
Line 25: | Line 25: | ||
* Select <code>Only the following objects in the folder</code> and check <code>Computer objects</code> from the list. Additionally select the options <code>Create selected objects in the folder</code> and <code>Delete selected objects in this folder</code>. Click <code>Next</code>. |
* Select <code>Only the following objects in the folder</code> and check <code>Computer objects</code> from the list. Additionally select the options <code>Create selected objects in the folder</code> and <code>Delete selected objects in this folder</code>. Click <code>Next</code>. |
||
* Select <code>General</code> and < |
* Select <code>General</code> and <code>Property-specific</code>, select the following permissions from the list and click <code>Next</code>. |
||
:* <code>Reset password</code> |
:* <code>Reset password</code> |
||
:* <code>Read and write account restrictions</code> |
:* <code>Read and write account restrictions</code> |
||
Line 36: | Line 36: | ||
To enable the group to join machines to multiple containers or organizational units (OU), repeat the steps on them. |
To enable the group to join machines to multiple containers or organizational units (OU), repeat the steps on them. |
||
= Revoking the Delegation = |
= Revoking the Delegation = |
Revision as of 23:12, 21 November 2017
Introduction
Delegating permissions in an Active Directory (AD) enables the administrator to assign permissions in the directory to unprivileged. For example, to enable a help desk employees to join machines to the domain without knowing the domain administrator credentials.
Adding the Delegation
To enable the supporters
group to join and remove machines to and from the domain:
- Open the
Active Directory Users and Computers
(ADUC) console as domain administrator.
- Create a new group
supporters
.
- Right-click to the
cn=Computer
container and selectDelegate control
.
- Click
Next
.
- Click
Add
and select the groupsupporters
and clickNext
.
- Select
Create a custom task to delegate
.
- Select
Only the following objects in the folder
and checkComputer objects
from the list. Additionally select the optionsCreate selected objects in the folder
andDelete selected objects in this folder
. ClickNext
.
- Select
General
andProperty-specific
, select the following permissions from the list and clickNext
.
Reset password
Read and write account restrictions
Read and write DNS host name attributes
Validated write to DNS host name
Validated write to service principal name
Write servicePrincipalName
- Click
Finish
.
To enable the group to join machines to multiple containers or organizational units (OU), repeat the steps on them.
Revoking the Delegation
To disable members of the supporter
group to join and remove machines to and from the domain:
- Open the
Active Directory Users and Computers
(ADUC) console as domain administrator.
- Right-click to the container or organizational unit (OU) you want to revoke the permissions and select
Properties
.
- Navigate to the
security
tab.
- Remove the
supporter
group from the list.
- Click
OK
.