- 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
Guide to Configuring LDAP Authentication in Rocket.Chat
Overview
This article describes how to configure LDAP authentication in Rocket.Chat using MULTIDIRECTORY as the identity provider.
To enable the integration, you need to create a user account that will act as an administrator. This account will be used to read the LDAP directory and authenticate users in the system.
Prerequisites
- MULTIDIRECTORY directory service installed
- Rocket.Chat deployed
Preparation
- Create a service account in MULTIDIRECTORY with read access to the directory.
Rocket.Chat Configuration
To configure LDAP authentication on the server where Rocket.Chat is installed, go to Settings by clicking the gear icon in the top-right corner, then navigate to «Workspace» → «Settings»

From the «Settings» tab, access «LDAP» to configure the integration.

«Connection» Tab

Field description:
- Server Type — Active Directory
- Host — IP address or domain name of MULTIDIRECTORY
- Port — select the LDAP (389) or LDAPS (636) port


Field description:
- User DN — DN of the account with read permissions.
- Password — password of the account.
«User Search» Tab

Field description:
- Base DN — base DN used to search for users in the directory.
- Filte — condition for filtering user accounts.
- example: (objectClass=user)

Note:
Set both «Search Page Size» and «Search Size Limit» to 0.

Field description:
- GroupObjectClass — group object class.
- Group ID Attribute — group ID attribute.
- GroupMemberAttribute — group membership attribute.
«Data Synchronization» Tab

Field description:
- Unique Identifier Field — used to map LDAP users to Rocket.Chat users.
example: objectGUID,uidNumber,uid,sAMAccountName

Field description:
- «Username» Field — attribute used as the login for new users.
- «Email» Field — attribute used for email (if not set in MULTIDIRECTORY).
- «Name» Field — attribute used as the display name.
«Organization» Tab

Log in using a MULTIDIRECTORY account

