Integrating LDAP

OneAccess allows you to import user and organization information from identity sources and synchronize the information with the identity sources in real time.

This section describes how to integrate a Lightweight Directory Access Protocol (LDAP) identity source with OneAccess. LDAP is a mature, flexible, and well supported standards-based mechanism for interacting with directory servers. It is often used for authentication and storing information about users, groups, and applications.

Configuration Process

Figure 1 Configuration process

Prerequisites

  • You have administrator permissions for the LDAP platform in your enterprise.
  • You have permissions to access the administrator portal.
  • Your LDAP platform can be connected to the OneAccess administrator portal.
  • You are familiar with the LDAP protocol and know how to obtain information about your LDAP server.

Adding an LDAP Identity Source in OneAccess

Configure parameters of the LDAP identity source in OneAccess to ensure that OneAccess can synchronize data from your LDAP server.

  1. Add an identity source in OneAccess.

    1. Log in to the administrator portal.
    2. In the top navigation pane, choose Users > Identity Sources.
    3. On the Identity Sources page, click Add Identity Source in the Operation column of the row that contains LDAP, enter an identity source name, and click OK.
      Figure 2 Adding an LDAP identity source

  2. Configure import settings.

    1. In the LDAP identity source list, click View Details in the row that contains the target identity source.
      Figure 3 Viewing details of an LDAP identity source
    2. Click the Import Settings tab, set import parameters, and click Save.
      • Basic Settings: Connection parameters of your LDAP server to be connected to OneAccess.
      • Optional Settings: Whether to synchronize passwords, password attributes to be synchronized, and account and organization object classes. Modify these settings if a synchronization error occurs. For certain parameters, you may retain the default values.
      • Advanced Settings: Policies for mapping top-level organizations, organizations, and users.
      Table 1 Basic parameters

      Parameter

      Description

      * Host

      Host name or IP address of the LDAP server.

      TCP Port

      TCP/IP port of the LDAP server. The default port is 389.

      NOTE:

      OneAccess can be accessed only over public networks. Provide the public network address of your LDAP server and enable port 389.

      SSL

      Default value: true, which indicates that SSL is used to connect the LDAP server.

      Protocol Version

      Default value: TLSv1.2; recommended: TLSv1.3 and TLSv1.2.

      Principal

      Account name used for LDAP server authentication. The input parameter will contain the domain name, for example, admin@test.com and TEST\admin.

      Password

      Password of the account.

      * Base Contexts

      One or more top-level nodes in the LDAP tree to be considered as the beginning for synchronizing data. Searching for specific users or user groups in the LDAP server will start from these nodes.

      For example, OU=huaweitest,DC=test,DC=com.

      Table 2 Advanced settings

      Parameter

      Description

      Scheduled Synchronization

      Time for scheduled synchronization every day.

      Organization

      Parent organization in OneAccess to which organizations will be synchronized from your LDAP server. A new top-level organization will be automatically created if this parameter is not set.

      Deletion Threshold

      A protection mechanism provided by OneAccess. Default value: 100. If OneAccess is notified that data exceeding the threshold was deleted in your LDAP server, OneAccess will only delete data within the threshold and retain the excessive data.

      Organization Matching

      Organization mapping rules for OneAccess to synchronize organization data from your LDAP server. For example, OneAccess has an organization attribute Code and your AD has a similar attribute Organization Code. Organizations in your LDAP will be mapped to OneAccess, and their codes in the LDAP will be identified as organization codes in OneAccess.

      Create Organization

      Enabled by default, indicating that OneAccess will automatically create organizations that do not match any organizations in OneAccess. To ensure data integrity, enable this option.

      Update Organization

      Enabled by default, indicating that organizations in OneAccess that match those synchronized from the identity source will be updated. To ensure data accuracy, keep this option enabled.

      Delete Organization

      Indicates whether to delete organizations in OneAccess if the corresponding organizations in your LDAP server are deleted. By default, Retain is selected.

      • Retain: OneAccess retains all organizations that are successfully synchronized.
      • Delete: OneAccess deletes organizations according to changes in your LDAP server.

      User Matching

      User mapping rules for OneAccess to synchronize user data from your LDAP server. For example, OneAccess has a user attribute User ID and your LDAP has a similar attribute Employee ID. Users in your LDAP will be mapped to OneAccess, and their employee IDs in the LDAP will be identified as user IDs in OneAccess.

      Create User

      Enabled by default, indicating that OneAccess will automatically create users that do not match any users in OneAccess. To ensure data integrity, enable this option.

      Update User

      Enabled by default, indicating that users in OneAccess that match those synchronized from the identity source will be updated. To ensure data accuracy, keep this option enabled.

      Delete User

      Indicates whether to delete users in OneAccess if the corresponding users in your LDAP server are deleted. By default, Deactivate is selected.

      • Deactivate: OneAccess deactivates users deleted in your LDAP server.
      • Retain: OneAccess retains users deleted in your LDAP server.
      • Delete: OneAccess deletes users deleted in your LDAP server.

  3. (Optional) Set the object models.

    Click the Object Models tab. Then add, modify, or delete user and organization attributes and mapping rules.
    Table 3 Object model parameters

    Parameter

    Description

    User Object

    Attributes

    User attributes in the LDAP identity source.

    Mappings

    Data conversion rules for synchronizing user data from your LDAP server to OneAccess. Script-based conversion is supported.

    Organization Object

    Attributes

    Organization attributes in the LDAP identity source.

    Mappings

    Data conversion rules for synchronizing organization data from LDAP to OneAccess. Script-based conversion is supported.

    Figure 4 Defining user attributes

Verifying Synchronization of LDAP Data

  • Manual synchronization: Go to the LDAP identity source details page, click the Synchronization tab, and click Execute. OneAccess synchronizes user and organization data from the LDAP identity source, and generates operation records.
    • Click View Details in the row that contains the target record to view details.
    • View the synchronized users and organizations on the Organizations and Users page.
      Figure 5 Viewing synchronized data
  • Scheduled synchronization: If you have configured the time for scheduled synchronization in the Advanced Settings section of the Import Settings tab page, view the records on the Scheduled Synchronization page.