- 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
Passwork LDAP Authentication Setup Guide
Overview
This article provides step-by-step instructions for configuring LDAP authentication in Passwork with MULTIDIRECTORY as the identity provider.
Setup Requirements
- A running MULTIDIRECTORY instance.
- A pre-installed Passwork system.
Preparation
- Create a dedicated service account in
MULTIDIRECTORYwith read-only permissions to the directory. This account will be used by Passwork to query user and group information during LDAP authentication.
Configuring Passwork to Work with MULTIDIRECTORY
To set up LDAP authentication, follow these steps in the Passwork admin interface:
- In the top-right corner, click your profile icon and select «Account Settings» from the dropdown menu.

- In the left-hand navigation panel, choose «LDAP Settings».

- Click the «Add Server» button to begin configuring the connection to your MULTIDIRECTORY instance.
In the Add Server window, fill in the following fields:
- Server Name: A human-readable name for your
MULTIDIRECTORYinstance (e.g., «Corporate Directory»). This name will appear in Passwork’s interface.
- Primary Host: The full connection address of your
MULTIDIRECTORYserver, including protocol and port (e.g., ldap://192.168.1.10:389 or ldaps://multidirectory.example.com:636).

- Server Code: A unique identifier used by Passwork for internal routing. For details, refer to the official Passwork documentation.
- Service Account: The Distinguished Name (DN) of the service account created in MULTIDIRECTORY (e.g., cn=passwork-reader,ou=service,dc=example,dc=com). This account is used for LDAP bind operations.
- Login Attribute Name: Enter sAMAccountName—this is the LDAP attribute Passwork will use to match user login attempts.

After completing the form, click the «Test» button. If the connection is successful, Passwork will display a confirmation message: «Successful login».
After successfully testing the connection, scroll to the bottom of the form and click «Add Server».
Once the server is added, click on the newly created server entry. In the «Users» tab, configure the following:
- User Search Base (DN for user search in AD/LDAP): Specify the Distinguished Name (DN) of the directory subtree where user accounts are located (e.g., ou=Users,dc=example,dc=com). This defines the scope of the LDAP user search.
- DN Filter: Define an LDAP filter to determine which users should be synchronized (e.g., (objectClass=user) or (memberOf=cn=PassworkUsers,ou=Groups,dc=example,dc=com)).
- Sync Interval: Set the frequency (in minutes) for automatic LDAP user list updates.

After configuring the user directory, go to the «Groups» tab and specify the Distinguished Name (DN) of the directory subtree where groups are located (e.g., ou=Groups,dc=example,dc=com). This defines the scope for LDAP group lookups.
Click «Save Settings», then click «Refresh Groups» to immediately synchronize the current list of groups from MULTIDIRECTORY.
