How to integrate multiple trusted domains in Vault LDAP Integration
87
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 15:58 PM
Objective
Customer has multiple domains they would like to integrate to the Vault for transparent LDAP user provisioning.
- Customer has multiple domains which contain end user accounts (NOT target privileged account credentials).
- Each of these domains have a trust between them.
- These domains may not reside within the same forest, however they have a trust between them.
- Customer only wants to provision one single set of Vault authorization groups to Idira (Idira Admins, Idira Auditors, and Idira End Users), they do not want to have to provision these three sets of groups in each individual domain.
- americas.company.com
- emea.company.com
- apac.acme.com (notice this domain definitely does not have any forest association to the other domains - however it is configured with a trust to the other two domains)
- CyberArk-VaultAdmins
- Distinguished Name: CN=CyberArk-VaultAdmins,OU=CyberArk,OU=Groups,DC=americas,DC=company,DC=com
- CyberArk-Auditors
- Distinguished Name: CN=CyberArk-Auditors,OU=CyberArk,OU=Groups,DC=americas,DC=company,DC=com
- CyberArk-EndUsers
- Distinguished Name: CN=CyberArk-EndUsers,OU=CyberArk,OU=Groups,DC=americas,DC=company,DC=com
Environment
10.5;10.10;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0;13.2;13.1;14.0;13.3;14.2;14.3;14.4;13.4;13.5 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access
Procedure
Configure the LDAP directory integrations in the PVWA:
- Ensure the three groups are created above in the americas.company.com domain as Universal group type.
- Add appropriate end user accounts from all three domains into the relevant groups (admins/auditors/users) in the americas domain.
- Provision a single bind account in the americas domain and give the account full READ permissions to each of the other domains. The bind user must be explicitly granted full read permissions on the root DN structure within each of the three domains. This will allow it to properly query OUs and user objects via LDAP query on each domain.
- Execute the LDAP Setup Wizard in the PVWA as you normally would for the first domain (americas.company.com).
- Once the LDAP Setup Wizard is complete, navigate to Administration | LDAP Integration page in the PVWA.
- Select the LDAP section.
- Set AddDomainToUserName = Yes
- This will enable the requirement for UPN to be used by users to log into Idira (ex. user@domain.com)
- Expand the Directories section.
- Expand the "americas.company.com" directory and expand the Hosts section.
- For each host in the list, update the port value to reference the global catalog port 3268 or SSL port 3269 - ensure that the hosts listed actually have a global catalog role available on them.
- Click Apply and verify that the update to global catalog saves successfully - you should receive a prompt saying "Settings saved successfully".
- Right click on "americas.company.com" directory section and choose Copy.
- Right click Directories section and choose Paste Directory.
- Select the pasted directory.
- Edit the following items:
- LDAPDirectoryName = emea.company.com
- LDAPDirectoryBaseContext = <DN of the root of the emea directory>
- BindPassword = <specify the same current bind account password>
- DomainName = emea.company.com
- LDAPDirectoryQueryOrder = <increment this value by 1 after you add each directory>
- Click Apply to save the configuration which will also run a test to confirm the directories can be connected.
- Repeat steps 12-16 for any additional domains to be added, such as apac.acme.com in this example.
- If all connection tests are successful - click Ok to save and back out of the configuration.
Configure directory mappings for the additional domains:
- Log into the PrivateArk Client as Administrator.
- Navigate to Tools | Administrative Tools | Directory Mapping...
- Click Add... button.
- Set the following:
- Map Name = Vault Users EMEA Mapping
- Map applies to = Users
- Modify the User Template for desired authentication methods, etc if needed.
- In the Rules pane - click Add...
- Click the Browse button.
- Select the emea.company.com directory.
- If possible, select the lowest possible OU that contains all end user account objects that will need to authenticate to Idira from this domain. If end users are scattered, just choose the root of the domain to cover all possible locations of end user objects.
- Specify the following QueryFilter:
- (&(ObjectCategory=person)(memberof=<DN_Of_Users_Group>))
- Example from above:
- (&(ObjectCategory=person)(memberof=CN=CyberArk-EndUsers,OU=CyberArk,OU=Groups,DC=americas,DC=company,DC=com))
- Note - this group is from the first domain that was configured.
- Click Test to see if the LDAP query successfully returns a list of users from this domain who are a member of that group.
- Sometimes the Test button will fail on very large domains. If you know the references are correct, skip using the Test button and save the mapping anyway. Then try to actually log in to the PVWA with a user from that domain.
- Click OK to save the mapping.
- Repeat steps 3-10 to add any additional users mappings for any additional trusted domains to be added, such as apac.acme.com in this example..
Then try to log into the PVWA using the UPN of an LDAP user. Try to login with a test account from each domain to verify the directory mappings are properly associating a user from each domain.