- 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
Domain Trust Configuration
Overview
The MULTIDIRECTORY internal interface supports establishing bidirectional trust relationships between domains and enables unidirectional LDAP query forwarding.
MULTIDIRECTORY provides support for:
- Bidirectional «Realm» trust – full mutual authentication and resource access between domains.
- Unidirectional «LDAP-Forward» trust – one-way delegation of LDAP queries from a trusting domain to a trusted domain.
For seamless cross-domain interaction—ensuring reliable authentication and authorization—proper DNS configuration is critical. MULTIDIRECTORY (MD) includes built-in DNS Forwarding functionality. This feature simplifies name resolution, allowing devices within one domain to discover and communicate with network resources located in another domain. Accurate DNS resolution is essential for both Kerberos authentication and LDAP queries to function correctly across trust boundaries.
Domain Trust Configuration
To access the domain trust settings go to the main dashboard (where the list of directories is displayed).
Click the gear icon in the top-right corner. Select «MultiDirectory Settings» -> «Domains and Trust».

To create a new trust relationship or add domains, click the Add button.

In the dialog that appears, enter the following details:
Trust Name – Any descriptive name for the trust relationship.
Host – the fully qualified domain name (FQDN) of the target system with which the trust will be established.

NOTE
Once you populate the Host field during trust configuration, this value cannot be modified later. The only settings you’ll be able to adjust afterward are the port and connection protocol.
In the next window that appears, enter: Password – the shared password for the cross-domain Kerberos principal.

Note
A cross-trusted principal is an account recognized and trusted across multiple domains due to established trust relationships. It enables secure, seamless authentication for users and services originating from different realms or domains within an LDAP-based infrastructure.
LDAP Forward Configuration
Authentication Type: Select Simple.
Username/Password: Provide the credentials of a service account with read access to the directory on the target domain controller.
Protocol: Choose LDAP or LDAPS.
Domain: Enter the domain of the target system.Port: Use 389 for LDAP or 636 for LDAPS.

Note
MultiDirectory forwards incoming LDAP requests to the trusted domain.
GSSAPI:
Username (SPN): Enter the Service Principal Name (SPN) of the Kerberos service account.
Keytab File Upload: Upload the keytab file, which can be obtained from the target domain controller.

Reference Configuration

Note
A reference (or LDAP referral) is a pointer to another LDAP server or a different part of the directory hierarchy where the requested information may reside.
On the initial tab, you will see the newly created trust relationship between the (PATH) MultiDirectory instance and the (SOURCE) target MultiDirectory system.

When you click «Add Reference», the following window appears:
Path – select the directory subtree where the search for the required data will begin.
Source – specify the secondary target MultiDirectory server (i.e., another trusted domain or LDAP instance) that hosts the referenced data.
