Deploying an Access Rule (demonstration steps)
This section demonstrates how to implement a security scenario where each delegated administrator is restricted to managing users from a single department. The scenario is implemented by using an Access Rule that enables a delegated administrator to access only those objects whose Department property is identical with the Department claim of that delegated administrator.
Step 1. Prerequisites
In this section, we assume that you already have the following prerequisites:
- An Active Directory domain, with at least one domain controller running Windows Server 2016 (or a later version of the Windows Server operating system).
- The Active Roles Administration Service and MMC Interface (console) of the latest version installed on a member server in your Active Directory domain, with the server running Windows Server 2016 (or a later version of the Windows Server operating system).
- Your Active Directory domain is registered with Active Roles as a managed domain.
Step 2. Enable claim support
Configure Group Policy to enable domain controllers to issue claims:
- On a domain controller running Windows Server 2016 or later, open the Group Policy Management console.
To open the console, press Windows logo key+R to open the Run dialog box, type gpmc.msc, and click OK.
- In the console tree, select the Domain Controllers OU under your domain.
- In the details pane, right-click Default Domain Controllers Policy, and then click Edit.
- Perform the following steps in the Group Policy Management Editor console that appears:
- In the console tree, select Computer Configuration | Policies | Administrative Templates | System | KDC.
- In the details pane, double-click KDC support for claims, compound authentication and Kerberos armoring.
- In the KDC support for claims, compound authentication and Kerberos armoring dialog box, click Enabled and select Supported from the Options drop-down list. When finished, click OK to close the dialog box.
- Close Group Policy Management Editor.
- Close Group Policy Management.
- Open a command prompt and enter the following command:
gpupdate /force
.
Configure Group Policy to enable the Active Roles Administration Service to retrieve claims for clients by using Kerberos protocol transition:
- On the server running the Active Roles Administration Service, open the Local Group Policy Editor console.
To open the console, press Windows logo key+R to open the Run dialog box, type gpedit.msc, and click OK.
- In the console tree, select Computer Configuration | Administrative Templates | System | Kerberos.
- In the details pane, double-click Kerberos client support for claims, compound authentication and Kerberos armoring.
- In the Kerberos client support for claims, compound authentication and Kerberos armoring dialog box, click Enabled, and then click OK.
- Restart the computer to apply the new setting to the Active Roles Administration Service. (Restarting only the Administration Service may not suffice.)
Add the Service Principal Names (SPNs) of the Active Roles Administration Service to the service account, to enable support for Kerberos authentication. Enter the following commands at a command prompt, where <FQDN>
stands for the fully qualified domain name of the computer running the Administration Service; <name>
stands for the name of that computer; and <ServiceAccountName>
stands for the name of the service account (domain user account under which the Administration Service runs):
setspn -s aradminsvc/<FQDN> <ServiceAccountName>
For example, setspn -s aradminsvc/arsrv.domain.com domain\arsvcacct
setspn -s aradminsvc/<name> <ServiceAccountName>
For example, setspn -s aradminsvc/arsrv domain\arsvcacct
Step 3. Create Claim Type
Create a Claim Type object for your domain controller to issue user claims sourced from the Department attribute. Log on as an Active Roles Admin and perform the following steps in the Active Roles console. (Assuming the default configuration, you should log on with a domain user account that is a member of the Administrators local group of the member server running the Active Roles Administration Service.)
- In the console tree, expand the Active Directory node, right-click the Claim Types container, and select New | Claim Type.
- On the Source Attribute page, scroll down the list of attributes, and click Department.
- Click Next and then click Finish.