Users Synchronization - User Directory

User is one of the fundamental data model entity. Only defined users are allowed to connect to monitored servers. Fudo Enterprise features automatic users synchronization service which enables importing users information from Active Directory servers or other servers compatible with the LDAP protocol.


Warning

It is required that LDAP server supports a memberOf parameter - an attribute that specifies the distinguished names of the groups to which this object belongs.

New users definitions and changes in existing objects are imported from the directory service periodically every 5 minutes. Deleting a user object from an AD or an LDAP server requires performing the full synchronization to reflect those changes on Fudo Enterprise. The full synchronization process is triggered automatically once a day at 00:00, or can be triggered manually.

Configuring Users Synchronization Service

Note

When Kerberos is enabled in Fudo Enterprise, synchronization with Active Directory uses the Kerberos protocol by default. This setup requires proper configuration of domain services and accurate system time synchronization. For more information, refer to the Kerberos Support for Active Directory section.

If you do not plan to use Kerberos, deselect the Enable Kerberos for LDAP synchronization option in the Settings > Authentication > Global tab to continue using simple bind for synchronization. For more information, refer to the Kerberos Authentication Settings section.

To enable users synchronization feature, proceed as follows.

  1. Select Settings > User Directory.

  2. Select Synchronization enabled.

  3. In case of cluster configuration, from the Active cluster node drop-down list, select which node will be performing objects synchronization with LDAP service.

  4. Click Add User Directory.

../../_images/5-6-ldap-sync-enable.png
  1. Enter a unique name for this configuration.

  2. In the Position field, define the priority that determines the order in which the domains are queried.

Note

A lower number indicates a higher priority.

  1. In the Directory Service section, select data source type from the Server type drop-down list.

  2. Provide the user authentication information (login and password) to access user data on given server.

  3. Enter domain name, to which imported users are assigned to.

  4. Provide base DN parameter for users’ objects (eg. DC=devel,DC=whl).

  5. Provide base DN for parameter groups’ objects (eg. DC=tech,DC=whl).

Note

Do not include any whitespace characters in the DN parameter.

  1. Define filter (or leave the default value) for user records, which are subject to synchronization.

  2. Define filter (or leave the default value) for user groups, which are subject to synchronization.

../../_images/5-6-ldap-sync-dir-service.png

Defining Directory Service Server

  1. In the Controllers section, click Add Controller to define directory service server.

  1. Provide IP address and port number.

Note

In case of TLS-encrypted connection, define LDAP server’s address using its full domain name (e.g. tech.ldap.com) instead of an IP address, to ensure the certificate is verified properly. Make sure that the given server name is included in certificate’s Common Name field.

  1. Select the Page LDAP results option to enable paging.

  2. Select the Encrypted connection option to enable encryption and upload the CA certificate.

  3. Click Save.

../../_images/5-6-ldap-controller.png

Note

To add multiple controllers, repeat the steps described above.

Defining User Information Mapping

Note

Fields mapping enables importing users information from nonstandard attributes, e.g. telephone number defined in an attribute named mobile instead of the standard telephoneNumber.

../../_images/5-6-ldap-attributes-mapping.png
  1. Select Sync users block state to automatically block local users’ accounts blocked in the directory.

Mapping External Groups to User Roles

  1. In the Group Mapping section, click Add Group Mapping to assign user groups to Fudo roles, Fudo groups, and external authentication methods.

  1. In the Group path field, select the distinguished name (DN) of the group.

  2. In the Assign to roles section, select the Fudo Enterprise roles to assign to users from this group.

  3. In the Add to groups section, select the Fudo Enterprise groups to assign to users from this group.

  4. In the Authentications section, select external authentication source to assign to users from this group.

  1. Click Save.

Note

External authentication sources are assigned to users in the exact sequence they are defined in groups mapping. Thus if the same user is present in more than one group, Fudo Enterprise will be authenticating him against external authentication sources starting from those defined in the first group mapping defined.

For example:

A user is assigned to groups A and B. Group B is mapped to Safe RDP and has CERB and Radius authentication sources assigned. Group A is second in order and it is mapped to Safe SSH and has AD authentication source assigned.

Authenticating a user, Fudo Enterprise will send requests to external authentication sources in the following order:

  1. CERB.

  2. Radius.

  3. AD.

  1. In the User Authentication section, select the Add X.509 certificate option to retrieve user’s certificate and assign it as one of user’s authentication methods.

  2. Select the Add SSH key extracted from X.509 certificate option to retrieve user SSH key from certificate and assign it as one of user’s authentication methods.

  3. To save the configuration, click Save and Close in the upper-right corner of the screen.

Note

  • The Force Full Synchronization option enables processing changes in directory structures which cannot be processed during periodical synchronization, eg. deleting a defined group or deleting a user.

  • The full synchronization process is triggered automatically once a day at 00:00, or can be triggered manually.

  • Use diagnostics tools to troubleshoot problems with LDAP configuration.

  • Fudo Enterprise supports nested LDAP groups.

Disabling Data Synchronization for User

Fudo Enterprise allows synchronizing the user’s data with the LDAP service source. The Synchronize with LDAP option is responsible for this process. When this option is checked for the given user, an administrator can’t edit the user’s data manually but can add or edit their authentication methods. If the Synchronize with LDAP option is unchecked, the user is no longer synchronized with LDAP source, and can be edited by an administrator. The administrator can still check the option and reinstate synchronization with LDAP, but any change made manually will disappear with the next synchronization attempt. Only the added authentication methods won’t change.

../../_images/5-6-user-sync-ldap.png

Note

Because authentication methods are excluded from the synchronization, a synchronized user can be invited to Fudo ShareAccess and granted the Trusted status. The Fudo ShareAccess identity of a user is stored as the ShareAccess Key authentication method, so it is not overwritten by the next synchronization pass. For more information, refer to the ShareAccess Key Authentication Method section.

Kerberos Support for Active Directory

When the Enable Kerberos for LDAP synchronization option is selected in the Settings > Authentication > Global tab and the User Directory server type is set to AD (Active Directory), synchronization uses the Kerberos protocol.

Note

If you do not plan to use Kerberos, deselect the Enable Kerberos for LDAP synchronization option in the Settings > Authentication > Global tab to continue using simple bind for synchronization. For more information, refer to the Kerberos Authentication Settings section.

If you plan to use Kerberos authentication for User Directory synchronization, ensure the following:

  • Port 88 (Kerberos) is open on the firewall — otherwise, synchronization will fail.

  • The DNS server from the same domain is properly configured.

Note

The Fudo hostname no longer needs to include a domain suffix (eg. fudo.qa.kerberos) for Kerberos synchronization to work correctly. This also allows synchronization across multiple domains.

  • The controller address matches the SPN (Service Principal Name) of the LDAP server defined in the domain.

  • If your current configuration uses an IP address instead of a hostname, update it to use the correct hostname.

Note

Fudo Enterprise supports LDAP channel binding, so User Directory synchronization works even when Windows domain controllers enforce channel binding (the Domain controller: LDAP server channel binding token requirements policy, registry setting LdapEnforceChannelBinding, set to value 2). On LDAPS connections, session integrity is provided by the TLS protocol.

Channel binding is likewise handled for LDAP-based Discovery and LDAP secret changers. It does not apply to external authentication because external authentication uses either Kerberos-only or LDAP-only authentication.

Related topics: