Adding UNIX user accounts to Active Directory on a large scale poses several challenges:
- Provisioning: How do you provision large numbers of UNIX users and map them to unique Active Directory user objects?
- Assigning roles: Once the UNIX users have profiles stored in Active Directory, how do you give each user just the privileges required?
- Accommodating legacy UIDs: How do you migrate UNIX users who have different UIDs on different servers and maintain existing file ownership requirements?
One strategy for adding and managing a large number of UNIX profiles is to use the Zone Provisioning Agent and provisioning properties. The Zone Provisioning Agent can automatically provision new users with the full complement of UNIX profile attributes when you add them to an Active Directory group. Configuring the environment to illustrate automated provisioning with the Zone Provisioning Agent, however, requires several steps that are only applicable if you choose that deployment scenario.
The following steps summarize the process, but are not recommended for an evaluation.
To deploy the Zone Provisioning Agent
- Create an Active Directory service account with the “Log on as a service” user right.
- Open the Centrify Zone Provisioning Agent Configuration Panel and configure the service to use the service account you created for it.
- Create or identify the Active Directory groups you will use as source groups for UNIX users.
Set the provisioning properties for the zone or zones where users will be automatically provisioned.
For example, open Access Manager, select the parent zone, right-click, then select Properties to see the Provisioning properties. You can then set the Active Directory source group and how you want UNIX attributes to be automatically generated.
- Migrate all existing users using the appropriate override attributes into zones to preserve their profiles.
- Start the Zone Provisioning Agent service.
Keep in mind that the Zone Provisioning Agent takes over all user provisioning if enabled for a zone. After you start the service, you cannot use the Access Manager Add User option to add a user to the zone. This ensures that all UIDs are unique in the domain.
If you configure the Zone Provisioning Agent, you can add and remove users from selected Active Directory groups to automatically add or remove their UNIX profiles in a zone.
To add users after configuring zone provisioning
Open the users.txt file in the /usr/share/centrifydc/samples/adedit directory to add more or change names.
Use an editor that does not insert a carriage return at the end of each line. Each line must end with a line feed.
Run the AddUnixUsers sample script in the directory to create the Active Directory account for each UNIX user and add each user to the Active Directory UNIX Users group.
Follow the prompts displayed to provide the following information for connecting to Active Directory:
- Domain name.
- The Active Directory account name that has administrator privileges in the organizational unit you’re using for the Centrify zones.
- The password for the Active Directory account.
- Type an initial password that meets the Active Directory requirements to be used for all of the accounts added.
- Open the Centrify Zone Provisioning Agent Configuration Panel and click Restart.
- Open Access Manager or Active Directory Users and Computers and assign users to the appropriate Active Directory groups to assign rights.