Steps to automate password synchronization
To automatically synchronize passwords from an Active Directory domain to another data system, complete these steps:
- Install Capture Agent on each domain controller in the Active Directory domain you want to be the source for password synchronization operations.
Capture Agent tracks changes to the user passwords in the source Active Directory domain and provides this information to Synchronization Service, which in turn synchronizes passwords in the target connected systems you specify.
For more information on how to install Capture Agent, see Managing Capture Agent.
- Connect the Synchronization Service to the Active Directory domain where you installed Capture Agent in step 1.
Alternatively, you can configure a connection to Active Roles that manages the source Active Directory domain.
- Connect the Synchronization Service to the data system where you want to synchronize user object passwords with those in the source Active Directory domain.
- For some target data systems (such as SQL Server) you must specify the data you want to participate in the password synchronization by configuring an SQL query.
- If the target data system is an LDAP directory service accessed via the generic LDAP connector, you must specify the target object type for which you want to synchronize passwords and the attribute where you want to store object passwords.
- Ensure that user objects in the source Active Directory domain are properly mapped to their counterparts in the target connected system.
For more information about mapping objects, see Mapping objects.
Synchronization Service automatically maps objects between the source Active Directory domain and the target connected system if you configure sync workflows to manage the creation and deprovision operations between the source AD domain (or Active Roles that manages that domain) and the target connected system.
For more information on sync workflows, see Synchronizing identity data.
- Create a password synchronization rule for the target connected system.
For more information, see Creating a password sync rule.
After you complete the above steps, the Synchronization Service starts to automatically track user password changes in the source AD domain and synchronize passwords in the target connected system.
If necessary, you can fine-tune the password synchronization settings by completing these optional tasks:
Managing Capture Agent
Capture Agent is required to track changes to the user passwords in the Active Directory domain you want to be the authoritative source for password synchronization operations. To synchronize passwords, you must install Capture Agent on each domain controller in the source Active Directory domain.
Whenever a password changes in the source Active Directory domain, the agent captures that change and provides the changed password to the Synchronization Service. In turn, the Synchronization Service uses the provided information to synchronize passwords in the target connected systems according to your settings.
In this section:
Installing Capture Agent manually
You can use this method to manually deploy Capture Agent on each domain controller in the source Active Directory domain.
To manually install Capture Agent
- Run one of the following files supplied with the Synchronization Service installation package:
- On a 32-bit domain controller, run the file SyncServiceCaptureAgent_7.6.3_x86.msi.
- On a 64-bit domain controller, run the file SyncServiceCaptureAgent_7.6.3_x64.msi.
You can find these files in the Solutions folder on the Active Roles distribution media.
- Step through the wizard to complete the agent installation.
You can perform an unattended installation of Capture Agent as follows.
To perform an unattended installation
On a 32-bit system, enter the following syntax at a command prompt:
msiexec /i "<Path to SyncServiceCaptureAgent_7.6.3_x86.msi>" /qb
INSTALLDIR="<Path to installation folder>" REBOOT="<Value>"
On a 64-bit system, enter the following syntax at a command prompt:
msiexec /i "<Path to SyncServiceCaptureAgent_7.6.3_x64.msi>" /qb
INSTALLDIR="<Path to installation folder>" REBOOT="<Value>"
In the above syntax:
Table 121: Arguments
INSTALLDIR |
Specifies the installation folder for the Capture Agent. When this argument is omitted, the following default installation folder is used:
%ProgramFiles%\One Identity\Active Roles\7.6.3\SyncServiceCaptureAgent |
REBOOT |
Allows you to suppress a system restart in a situation where a restart is required for the Capture Agent installation to complete.
To suppress the restart, use the following syntax: REBOOT="ReallySupress" |
Using Group Policy to install Capture Agent
You can use this method to automatically deploy Capture Agent on each domain controller in the source Active Directory domain. This method is applicable in the following scenarios only:
Table 122: Prerequisites by scenario
Scenario 1: AD domain includes either 32- or 64-bit domain controllers |
- All the domain controllers must be held in a single organizational unit (for example, the built-in Domain Controllers OU).
- At least one group policy object must be linked to the OU holding the domain controllers (for example, the built-in Default Domain Controllers Policy Group Policy object).
|
Scenario 2: AD domain includes both 32- and 64-bit domain controllers |
- The domain controllers must be held in two separate organizational units, each containing domain controllers of the same bitness.
- At least one group policy object must be linked to each of the two organizational units.
|
To install Capture Agent by using Group Policy
- Save the SyncServiceCaptureAgent_7.6.3_x86.msi and SyncServiceCaptureAgent_7.6.3_x64.msi files to a network share accessible from each domain controller in the source Active Directory domain.
- Depending on your scenario, complete the steps in the table:
Table 123: Steps by scenario
- Use Group Policy Editor to open the group policy object linked to the OU holding the domain controllers on which you want to install Capture Agent.
- In the Group Policy Object Editor console tree, in Windows Server 2016 or later, expand the Computer Configuration node, then expand Policies, and select Software Settings.
- In the details pane, click Software Installation, on the Action menu point to New, and then click Package.
- Use the dialog box to open one of the following files:
SyncServiceCaptureAgent_7.6.3_x86.msi if all your domain controllers are 32-bit.
or
SyncServiceCaptureAgent_7.6.3_x64.msi if all your domain controllers are 64-bit.
- In the Deploy Software dialog box, select Assigned, and then click OK.
|
- Use Group Policy Object Editor to open the group policy object linked to the OU holding the 32-bit domain controllers.
- In the Group Policy Object Editor console tree, in Windows Server 2016 or later, expand the Computer Configuration node, then expand Policies, and select Software Settings.
- In the details pane, click Software Installation, on the Action menu point to New, then click Package.
- Use the dialog box to open the SyncServiceCaptureAgent_7.6.3_x86.msi file.
- In the Deploy Software dialog box, select Assigned, and then click OK.
- Repeat steps 1-5 for the group policy object linked to the OU holding the 64-bit domain controllers. Use the SyncServiceCaptureAgent_7.6.3_x64.msi file to install Capture Agent on these domain controllers.
|
- Run the following command at a command prompt to refresh the Group Policy settings: gpupdate /force