Skip to main content

Data import

Connection details

SettingDescription
HostType a proper host name for the LDAP system.
PortType the relevant port number for the host name.
Connect using SSLEnable this setting to connect using a secured connection.Remember to update the port number accordingly.
Skip certificate checkEnable this option to avoid checking the certificate.This setting can be useful when you are using self-signed certificates.
Base DNType the unique name of the directory entry to use as the default starting point for LDAP queries under this configuration.
Authentication typeThe authentication type used for the LDAP connection.The authentication type corresponds to the System.DirectoryServices.Protocols.AuthType enumeration in .NET and can have the following values: Anonymous, Basic, Negotiate, Ntlm, Digest, Sicily, Dpa, Msn, External, Kerberos. The authentication type determines the use of user-, domain-, and password/settings.
UserType a relevant user name to authenticate against the LDAP server. Bear in mind that some LDAP directories require this username to be a DistinguishedName.
PasswordType the relevant password for the user name. Each time you make a change to any of the settings in the Connection details dialog, you must type your password again.
DomainType the name of the domain from which to establish a connection.
Test connectionEnable this setting to test the specified connection details.

Queries and mappings

The LDAP collector supports any number of queries. The collector has the following optional query parameters to be specified when creating or editing a query.

  1. In the Base DN field, specify the DistinguishedName of the object from where to get data. If you want to use the Base DN specified under Connection Details, leave this field empty.

  2. In the LDAP Filter field, enter an LDAP filter to ensure you get the objects needed. For details on LDAP filtering, see LDAP String Representation of Search Filters on the IETF Documents page.

  3. In the Scope field, specify if the search should be Base, One-level, or Sub-tree.

    Base: this will search only the object specified by the Base DN One-level: this will search all objects placed in the specified Base DN Sub-Tree: this will search all objects placed in the Specified Base DN, and all child containers.

  4. In the Distinct field, specify if the collector should remove possible duplicate rows.

  5. You can use the Filter filed to provide a Dynamic Expresso expression that is used for filtering the data imported into Omada Identity. It returns a TRUE/FALSE result for each imported data row. If the expression returns “FALSE” for the given row that row is skipped during import.

  6. In the Description field, enter a description for what this query is doing.

note

While configuring mappings that in OSI LDAP connectivity, the dash character is illegal and is by default removed from the LDAP properties. This removal means that LDAP property msDS-UserAccountDisabled in the Omada Identity mapping should have the form msDSUserAccountDisabled.

Mapping of resource owners

If you create a query to import resource owners, it is possible to specify the resource's owner in two ways. You can do it either by directly importing the UID of the identity or by specifying the account from which the resolved owner is imported as a resource owner.

When mapping directly to the UID of identity, Ensure that identities are already imported to Omada Identity.

When mapping to an owned account, it is possible to either specify the business key of the account or the composed businesskey. The former should be used if the account is in the same system as the resource; the latter should be used if the account is imported into any of the trusted systems.

When the account stems from another system, you should use a Lookup mapping.

Minimal required mappings

The Omada LDAP Connectivity requires the following mappings to be configured.

Accounts

DestinationDescription
Business keyThe system’s key for the account. A unique value is required.
Unique IDUID of the account.
Account nameName of the account.

Resources

DestinationDescription
Business keyThe system’s key for the resource. A unique value is required.
Security resource business keyThe system’s key for the resource.
NameName of the resource.
CategoryCategory of the resource
TypeType of the resource

Resource Assignments

DestinationDescription
Resource business keyThe system’s key for the resource. A unique value is required.
Account - business keyThe system’s key for the group member.
Account - CBK (composed business key)The system's key composed from the business keys.

Advanced configuration

  1. Click the Advanced task to open its advanced settings dialog box.
  2. In the Page Size field, type a value for the number of users and user groups to import at a time. The default value is 1000. Set the value to 0 to disable paging. This can be relevant for directories that do not support paging.
  3. In the Timeout field, you can set the LDAP connection timeout. The default value is 30 seconds.
  4. The Request timeout field allows you to set timeout for each LDAP request. The default value is 600 seconds.
  5. Choose an option for the SearchOption setting. It can be set to: blank (search option not set), DomainScope, or PhantomRoot. For a description of the DomainScope and PhantomRoot settings, check the Microsoft documentation.
note

When reading from AD with the LDAP collector, it may be needed to set SearchOption to DomainScope. Otherwise, only the first page of data is returned (by default 1000 entries).