This document explains how to integrate and configure LDAP servers with UPSSO such as Active Directory and OpenLDAP. This integration will enable LDAP users to access the UPSSO application. We can also configure LDAP security groups to control access to the UPSSO application.

CONFIGURE LDAP DETAILS :

  1. Login into the UPSSO portal as an administrator user.

  2. Click on “LDAP Integration” => “LDAP Integration” form the left side navigation menu.

  3. Enter LDAP details as described below

LDAP Host: Hostname or IP address of the LDAP server

LDAP Port: Port number of the LDAP server (Example: 389 or 636)

LDAP Username: Username to access LDAP server

LDAP DN: The Distinguished Name of the root node under which all the LDAP users and groups exist.

LDAP Password: Password to access LDAP server

Confirm LDAP Password: Repeat the LDAP password

Use SSL/TSL: Select this checkbox if the LDAP server allows connection via secure port such as 636. Please note, if this option is selected then we should specify a secure port number in “LDAP Port”

LDAP Account Prefix: This string will be prefixed with all the usernames when authenticating against the LDAP server. (For example, if the prefix is “democompany\” then username sent to the LDAP server will be as “democompany\demouser”). Some LDAP implementations do not need this prefix, please leave it blank in that case.

LDAP Account Suffix: This string will be suffixed with all the usernames when authenticating against the LDAP server. (For example, if the suffix is “@democompany” then username sent to the LDAP server will be as “demouser@democompany”).

Some LDAP implementations do not need this suffix, please leave it blank in that case.

Certificate:

4. Click on the “UPDATE” button.

5. Click on the “TEST LDAP” button to test the connection. If the connection is successful then the system will display the no of users available.

6. Please refer to the following screenshot for reference.

Note: If LDAP server integration is not required, then we can disable the LDAP connectivity using the on/off button as highlighted below. If the LDAP connection is off then UPSSO will not attempt to validate the users against LDAP instead it will validate only against the UPSSO directory users(database users).

CONFIGURING LDAP SECURITY GROUPS

UPSSO provides options to configure one or more security groups to limit access to certain groups of users. Only the users belonging to these groups will be allowed access to UPSSO. Here are the steps to add a security group

  1. Login into UPSSO as an administrator user.

  2. Click on the “LDAP Integration” => “LDAP Security Groups” from the left side navigation menu.

  3. Click on New record to add a new LDAP Security Groups

4.Type the Security Group Name in the search bar to fetch the group names cretaed in the AD.

5. Click on SAVE button.

MAPPING LDAP USER ATTRIBUTES TO UPSSO

By default, UPSSO user attributes are mapped to the standard LDAP attributes. UPSSO administrators have the option to map a UPSSO user attribute to some other LDAP attribute instead of the default one

For example, by default, the UPSSO will read Email ID from the LDAP attribute “mail” as highlighted below.

An administrator may decide to use the “description” LDAP attribute to the store  Email ID instead of the default “mail” attribute as shown below. Please note, in the Active Directory screenshot below, the Email ID is stored in Description than Email.

Here are the steps to map the Email to “description” LDAP attribute.

  1. Login into UPSSO as an administrator.

  2. Click on “LDAP Integration” => “LDAP Attribute Mapping” from the left side navigation menu.

  3. Click on the Action button for email as highlighted below.

4. Enter “LDAP Attribute” as “description” as shown below.

5. Click on the “SAVE” button

Note: The button “RESET DEFAULT” can be used to revert the “LDAP Attribute” value to the default one.

TESTING THE LDAP INTEGRATION

Here are the steps to test the LDAP integration.

  1. Login into the UPSSO portal with an LDAP username & password.

  2. After the successful login, please logout.

  3. Login into the UPSSO portal as an administrator.

  4. Click on the “Users” from the left side navigation menu.

  5. Search for the LDAP username that we use in step 1.

  6. Make sure the Source is “LDAP”

  7. Make sure the data such as email, mobile are matching with the LDAP data.

Note: All the users created from LDAP will have the Source as LDAP. These users password won’t be available with UPSSO. They are always authenticated against the LDAP server