LDAP Authentication Setup Guide for UserGate Client
Overview
This article explains how to configure LDAP authentication in UserGate, using MULTIDIRECTORY as the identity provider.
Preparation
Create a dedicated service account in MULTIDIRECTORY with read-only permissions to the directory. UserGate will use this account to query user and group information.
Create access groups in MULTIDIRECTORY for UserGate users (e.g., usergate-users, usergate-admins) to enable role-based policies.
Configuring LDAP Authentication in UserGate
To set up LDAP authentication:
Log in to the UserGate management console.
Navigate to the «Settings» panel.
In the left-hand menu, go to «Users and Devices» and choose «Authentication Servers».
In the opened window, click the «Add» button.
In the pop-up window, enter the following details:
Settings Tab
Name — Enter a custom, descriptive name for the LDAP configuration.
Description — Optional field; leave blank if not needed.
Use for SSL connections — Check this box only if your MULTIDIRECTORY server requires LDAPS (secure LDAP over SSL/TLS).
Server address — Specify the domain name or IP address of your MULTIDIRECTORY server.
Account — Enter the Distinguished Name (DN) or username of the service account with read access to the directory
LDAP Domains Tab
Click «Add», then enter the domain name of your MULTIDIRECTORY server (e.g., yourdomain.ru).
Kerberos Keytab Tab
If Kerberos authentication is required, upload the keytab file by clicking the file selection button and choosing your .keytab file.
Important!
You must manually create a Kerberos principal for UserGate. The principal name must exactly match the DNS hostname configured for your UserGate server
To create the principal:
Select «MULTIDIRECTORY Settings» from the dropdown menu.
Go to MULTIDIRECTORY Settings.
In the top-right corner, click the gear icon.
In the left-hand panel, select «Kerberos Principals».
Click the «Add» button.
When manually creating the principal, specify the type and FQDN.
For example:
Type: host
FQDN: usergate.yourdomain.ru
After creating the principal, click the «Export .keytab» button to download the keytab file. This file will be used by UserGate to authenticate via Kerberos.
Search Paths Tab
Enter the directory root in the format: dc=yourdomain,dc=ru To verify connectivity, click the «Test Connection» button. If the connection is successful, you’ll see: «Test successful». If the connection fails, a pop-up will display an error message with the specific reason. In that case, double-check the accuracy of all entered settings
Adding an Authentication Profile
Click on «Authentication Profiles» in the left-hand menu.
Click the «Add» button.
On the «General» tab, specify the following required information
On the «Authentication Methods» tab, select «Kerberos Authentication».
Adding Administrators
To add administrators: go to the «Administrators» section and click the «Add» button.
In the administrator creation window, choose one of the following options: either «Add LDAP Group» or «Add LDAP User».
Click the «Select» button next to the «Login» field.
Perform a search for the required LDAP group.
Once found, select it and choose the appropriate administrator profile to assign.