- 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
LDAP Authentication Setup Guide for Harbor
This article explains how to configure LDAP authentication in Harbor, using MULTIDIRECTORY as the identity provider.
Prerequisites
- A running MULTIDIRECTORY instance.
- A pre-installed Harbor environment.
Preparation
- Create a dedicated service account in
MULTIDIRECTORYwith read-only permissions to the directory. Harbor will use this account to bind and query user data during authentication. - Create access groups in
MULTIDIRECTORYforHarborusers (e.g.,harbor-users, harbor-admins) to enable role-based access control.
Note: Self-registration, user creation, user deletion, password changes, and password resets are all supported when LDAP authentication is enabled.
Configuring Harbor for Integration with MULTIDIRECTORY
In the Harbor web interface, go to «Administration», then choose «Configuration».

In the configuration menu, under «Auth Mode», select «LDAP» from the dropdown list.

Fill in the fields as shown in the example below and click «TEST LDAP SERVER». After a successful test, click «SAVE».

Required Field Descriptions
- LDAP URL — enter the IP address or fully qualified domain name (FQDN) of your LDAP server
- LDAP Search DN — Specify the Distinguished Name (DN) of a service account with read permissions to the directory. Harbor uses this account to search for users and groups.
- LDAP Search Password — Provide the password for the service account specified in LDAP Search DN.
- LDAP Base DN — Define the base Distinguished Name (DN) where user accounts are located. This is the starting point for user searches.
- LDAP UID — The LDAP attribute used to map a user’s login name to their directory entry. When a match is found, Harbor validates the user’s password via an LDAP bind request.
- LDAP Scope — Determines the depth of the user search
If your server uses a self-signed or untrusted certificate, clear the checkbox for «LDAP Verify Certificate».
You can also enable group-based administration and management of Harbor—for example, restrict access to Harbor settings to only members of a specific group like «Harbor admins». To enable this capability, in the LDAP authentication configuration section, fill in the group-related fields as shown in the example below:

Field Descriptions
- LDAP Group Base DN — The base Distinguished Name (DN) where Harbor searches for groups. This field is required if group-based filtering is enabled.
- LDAP Group Filter — The LDAP filter used to identify valid groups. The standard value for Active Directory–compatible systems like MULTIDIRECTORY is: (objectClass=group). This field is required when group filtering is active.
- LDAP Group GID — The LDAP attribute used to assign a group name. This field must not be empty if group-based filtering is enabled.
- LDAP Group Admin DN — The full DN of the group whose members should receive administrator privileges in Harbor
- LDAP Group Membership — The user attribute used to determine group membership. The default for MULTIDIRECTORY (Active Directory–compatible) is: memberOf
- LDAP Group Search Scope — Defines how deeply Harbor searches for groups.