How to edit, add, or remove existing LDAP hosts from an LDAP configuration
Objective
It is possible to add/remove/edit the list of hosts the vault uses for its LDAP integration. This list is used for a high availability functionality in a round robin configuration - if the vault can't reach the first host (domain controller), it will connect to the next one on the list.
Environment
14.2;14.6 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access
Procedure
In order to add, edit, or remove LDAP hosts you need to navigate to the LDAP Integration page in the PVWA:
Administration > LDAP Integration > LDAP > Expand 'Directories' > Expand the desired directory name > Expand 'Hosts'
The list of configure hosts will be displayed:
Each one of these hosts represents a domain controller in the configured directory (i.e. LDAP Domain) that the vault can connect to.
To edit a host - Simply select it from the list and alter the properties on the right. The available properties are:
- ServerName, which is either the domain controller's FQDN or IP address (if using SSL, an FQDN must be specified as in the example below).
- ServerPort (by default 636 for SSL and 389 if not using SSL)
- SSLConnect (whether to use SSL or not)
Once the edits are complete, click 'Apply'. The changes will come into effect immediately, there is no need to restart the vault.
*Note that changes will not be saved in this page if there are errors such as a failed connection to any of the configured hosts.
Example-
To delete a host - Right click the desired host from the hosts list and select 'Delete', then click 'Apply' at the bottom of the screen.
To add a host - Right click the Hosts entry in the list and select 'Add Host'
Then fill in the blank properties, before clicking 'Apply'.
*Note that if you are adding a new host that connects with SSL over port 636 an FQDN must be specified and not an IP or a domain short name.
If the domain controller's FQDN is for example "dc02.cybr.com" add this entire FQDN and not "cybr.com".
Prior to adding a host by FQDN, be sure to check the Vault's etc\host file (under c:\Windows\System32\Drivers\etc\hosts) to make sure there is a DNS entry for your new host's IP.
The following example is the appropriate format to use in the Hosts file:
<IP Address> <FQDN>
For example:
10.10.10.100 dc02.cybr.com