Integrating AD

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

This section describes how to integrate Active Directory (AD) with OneAccess. AD is a directory service developed by Microsoft for Windows domain networks. It provides single sign-on (SSO) and multi-factor authentication (MFA) to help protect users from cybersecurity attacks.

Configuration Process

Figure 1 Configuration process

Prerequisites

  • You have administrator permissions for the AD platform in your enterprise.
  • You have permissions to access the administrator portal.
  • Your AD platform can be connected to the OneAccess administrator portal.
  • You know how to obtain parameters of the AD platform and how to use this platform.

Adding an AD Identity Source in OneAccess

Configure parameters of the AD identity source so that OneAccess can synchronize data from it.

  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 AD, enter an identity source name, and click OK.
      Figure 2 Adding an AD identity source

  2. Configure import settings.

    1. In the AD identity source list, click View Details in the row that contains the target identity source.
      Figure 3 Viewing details of an AD identity source
    2. Click the Import Settings tab, set import parameters, and click Save.
      • Basic Settings: Connection parameters of your AD 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 AD server.

        TCP Port

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

        NOTE:

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

        SSL

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

        Protocol Version

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

        Principal

        Identifier used for AD server authentication. Specify an account that has read permission for the AD domain. 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 (for example, OU=huaweitest,DC=test,DC=com) in the AD tree to be considered as the beginning for synchronizing AD accounts.

        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 AD. 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 the AD, 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 AD. For example, OneAccess has an organization attribute Code and your AD has a similar attribute Organization Code. Organizations in your AD will be mapped to OneAccess, and their codes in the AD 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, keep this option enabled.

        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 AD 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 AD.

        User Matching

        User mapping rules for OneAccess to synchronize user data from your AD. For example, OneAccess has a user attribute User ID and your AD has a similar attribute Employee ID. Users in your AD will be mapped to OneAccess, and their employee IDs in the AD 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 AD are deleted. By default, Deactivate is selected.

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

  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 AD identity source.

    Mappings

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

    Organization Object

    Attributes

    Organization attributes in the AD identity source.

    Mappings

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

Verifying Synchronization of AD Data

  • Manual synchronization: Go to the AD identity source details page, click the Synchronization tab, and click Execute. OneAccess synchronizes user and organization data from the AD 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 4 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.