!--a11y-->
Configuration of More Than One LDAP Data
SourceIf your user data is distributed across several LDAP directories, you can configure SAP User Management Engine (UME) to read and write data from more than one LDAP directory. For example, your employees are in one LDAP directory and your customers or suppliers in another LDAP directory, so you configure UME to search for user data in both directories.

The configuration must not allow a user or other principal to be created on two separate data sources. In other words, only one data source can be the home data source for a user or other principal.
· Users’ logon IDs must be unique across all LDAP directories.
· The groups to which a user belongs must be in the same LDAP directory as the user.
Procedure
For each LDAP directory, you have to create a separate data source entry in the data source configuration file.
In the private section of each data source, you must define the following properties:
· ume.ldap.access.server_type
· ume.ldap.access.server_name
· ume.ldap.access.server_port
· ume.ldap.access.user
· ume.ldap.access.password
· ume.ldap.access.base_path.user
· ume.ldap.access.base_path.grup
To prevent passwords from appearing in the configuration file in plain text, passwords are handled as follows. The property sheet for UME properties contains properties for storing up to five encrypted passwords for different LDAP data sources. These are:
· ume.ldap.access.additional_password.1
· …
· ume.ldap.access.additional_password.5
In the property sheet you enter the passwords for the LDAP directories and in the configuration file you add a reference to the property of the property sheet containing the password.

For example, you enter a password for the second LDAP data source in the property ume.ldap.access.additional_password.2. In the data source configuration file, in the private section for that LDAP data source, you enter a reference to the property as follows:
<ume.ldap.access.password>
$ume.ldap.access.additional_password.2
</ume.ldap.access.password>
The property name is always preceded by a dollar sign ($).
<dataSources> |
