Skip to main content

Configure LDAP Integration

Deepser natively supports integration with the LDAP protocol, which provides centralized resource management. This guide walks you through configuring LDAP integration to import users and groups into Deepser from an existing LDAP installation.

Deepser synchronizes resources with LDAP in read-only mode and can independently manage the update of states or modified parameters on the LDAP controller. This means that if a user is moved to a group, disabled, or otherwise changed on the LDAP controller, those same changes will be replicated in Deepser under standard conditions.

Create an LDAP Integration

To configure an LDAP integration in Deepser, follow these steps:

  1. Go to System > Permission > LDAP Integration.

On the screen that opens, you can view already-configured LDAP integrations and set up new ones.

  1. Click the Add LDAP button.

The following screen will open:

  1. Fill in the fields described below:
FieldDescription
Show In LoginIndicates whether this LDAP integration will be visible on the login page
Is DefaultIndicates whether this LDAP integration will be selected by default in the list on the login page
NameLDAP Integration Name
Domain ControllerThe address of the domain controller
Cron ExpressionCron expression that defines how often the synchronization runs
StatusIndicates whether this integration is active. If inactive, synchronization will not run.
Base DNDomain base name. This field indicates the point below which Deepser will have visibility in the domain forest.
Time-outMaximum time before an unanswered request is considered expired
Use SSLIndicates whether the domain controller uses SSL encryption
Use TLSIndicates whether the domain controller uses TLS encryption
Follow ReferralsIndicates whether to follow referral links generated by the LDAP controller. Referral links indicate that the queried server does not directly own the requested resource but has a reference to the server or domain that does.
Admin UsernameUsername of the account that Deepser uses to read domain users
Admin PasswordPassword of the account that Deepser uses to access the Domain Controller

Users Configuration

In the Users Configuration section, you define how users are synchronized in Deepser.

FieldDescription
User Name AttributeIndicates which field in the domain controller response contains the user's name
User RDN AttributeThe field that indicates the path relative to another entity (parent) of the resource in the domain forest (e.g., distinguishedname)
User FieldsMaps the relationship between domain user fields and user fields in Deepser
User Object FilterAn LDAP query used as a filter to retrieve only users who match the search criteria
Account PrefixAccount prefix, e.g., "EXAMPLE<username>". In this case "EXAMPLE" is the account prefix.
Account SuffixAccount suffix, e.g., "@example.local". In this case "@example.local" is the account suffix.
Disable UsersIndicates whether users created as disabled on AD should be imported as disabled
Custom CodeCustom code that defines how user field values imported from integration are assigned

Groups Configuration

In the Groups Configuration section, you define how groups are synchronized in Deepser.

FieldDescription
Group EnableEnables the import of groups into Deepser from the forest
Group Base DNThe base domain name in which the groups reside (e.g., cn=exemple, dn=com)
Group Name AttributeIndicates which field in the object returned by the domain controller contains the group name
Group Members AttributeIndicates which field in the object returned by the domain controller contains the list of users who belong to the group
Group Object FilterAn LDAP query used as a filter to retrieve only groups that match the search criteria
Group FieldsMaps domain group fields to group fields in Deepser
  1. Once you have configured the fields, click Save or Apply.
tip

Click the Check LDAP button to verify that the integration works correctly. A green banner in the upper right corner confirms a successful connection. A red banner indicates an error.