- Technology stack
- Architecture of the Solution
- Installing and Configuring MULTIDIRECTORY
- Configuring Kerberos in the MULTIDIRECTORY Web Interface
- Configuring DNS in the MULTIDIRECTORY Web Interface
- DHCP Configuration
- Domain Trust Configuration
- Group Policy
- Connecting MULTIFACTOR Self-Service Portal to MULTIDIRECTORY
- User, Group, and Resource Management
- Connecting to MULTIFACTOR
- Access Policies
- LDAP Schema
- LDAP Logging Configuration
- Password Policies
- Role and Permission Configuration
- LDAP Authentication in Ansible AWX
- LDAP Authentication in ArgoCD
- LDAP Authentication in GitLab
- LDAP Authentication in GitFlic
- LDAP Authentication in Jenkins
- LDAP Authentication in Harbor
- LDAP Authentication in Nexus
- LDAP Authentication in PostgreSQL
- LDAP Authentication in Rancher
- LDAP Authentication in Proxmox VE
- LDAP Authentication in SpaceVM
- LDAP Authentication in Tantor
- LDAP Authentication in Shturval
- LDAP Authentication in zVirt
- LDAP Authentication in GLPI
Configuring LDAP Authentication in Jenkins
Overview
This article describes how to configure LDAP authentication in Jenkins, using MULTIDIRECTORY as the identity provider.
To integrate Jenkins with MULTIDIRECTORY, you must create a dedicated service account in MULTIDIRECTORY with read access to the directory. Jenkins will use this account to query the LDAP catalog and authenticate users during login.
Prerequisites
- A running MULTIDIRECTORY instance.
- A deployed Jenkins system.
Preparation
- Create a service account in MULTIDIRECTORY with read-only permissions to the directory.
Jenkins Configuration
To configure LDAP authentication:
- In the top-right corner of the dashboard, click the gear icon to open «Manage Jenkins».
- Log in to Jenkins as an administrator.
Note: The original text mentions «ArgoCD Configuration» by mistake—this is a Jenkins guide, so ArgoCD is not relevant here. The correct context is Jenkins configuration.

In the settings menu, select the «Security» option.

In the «Security» settings, change the «Security Realm» option to «LDAP».

Next, click «Advanced Server Configuration» and configure the connection to MULTIDIRECTORY.

Field Descriptions
- Server — The address of the MULTIDIRECTORY LDAP server that Jenkins will connect to
- Root DN — The base Distinguished Name (DN) from which Jenkins starts searching for users and groups
- Allow blank Root DN — Enables leaving the Root DN field empty. This is generally unnecessary in production environments and should only be used for testing.
- User Search Base — The DN path under which user accounts are located
- User Search Filter — The LDAP filter used to match users during login. Common examples include:
(sAMAccountName={0}) — for Active Directory–compatible systems like MULTIDIRECTORY
(uid={0}) — for standard LDAP directories- Group Search Base — The DN path where user groups are stored in MULTIDIRECTORY

Field Descriptions
- Group Search Filter — LDAP filter used to restrict which groups are retrieved.
Examples:(objectClass=group) — matches only entries with the group object class(cn=*) — matches any group with a common name
If left blank, Jenkins performs a default search and returns all groups under the specified Group Search Base.- Group Membership — Defines how Jenkins determines a user’s group memberships in LDAP. Two primary methods are available:
Parse user attribute for list of LDAP groups — Uses a multi-valued attribute from the user’s entry that already contains their group memberships.- Group Membership Attribute — Specifies the name of this attribute. For MULTIDIRECTORY (Active Directory–compatible), use: memberOf — the standard AD attribute containing a list of DNs of groups the user belongs to.
- Search for LDAP groups containing users — performs a reverse lookup: Jenkins searches group entries for those that include the user’s DN in their member list. Use this method if your LDAP directory does not support the memberOf attribute.
- Manager DN — The Distinguished Name (DN) of the service account Jenkins uses to bind to MULTIDIRECTORY and perform user/group lookups.
- Manager Password — The password for the service account specified in Manager DN.
- Display Name LDAP Attribute — The LDAP attribute from which Jenkins retrieves the user’s display name. This name appears in the Jenkins UI after login.

Field Descriptions
- Email Address LDAP Attribute — The LDAP attribute from which Jenkins retrieves the user’s email address. Common values include: mail — standard email attribute in most LDAP directories
- userPrincipalName — can be used as an alternative if the mail attribute is not populated in MULTIDIRECTORY. If your MULTIDIRECTORY entries lack the mail attribute, using userPrincipalName ensures users still have a valid identifier that can function as an email in Jenkins.
After entering all configuration details, click «Test LDAP Settings» to verify connectivity and validate user authentication against MULTIDIRECTORY.