- 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
Instructions for configuring LDAP authentication in Authelia
Overview
This article describes how to configure LDAP authentication in Authelia using MULTIDIRECTORY as the identity provider
Prerequisites
- MULTIDIRECTORY directory service must be installed and running.
- Authelia must be pre-installed.
Preparation Steps
Create a service account in MULTIDIRECTORY with read permissions to the directory.
Authelia server-side configuration (minimum required)
The configuration file is located at:
/authelia/examples/compose/local/authelia/configuration.yml # Authelia configuration file
In the configuration file, change this block: authentication_backend
authentication_backend:
ldap:
address: 'ldap://192.168.3.2'
implementation: 'custom'
timeout: '5s'
start_tls: false
pooling:
enable: false
count: 5
retries: 2
timeout: '10s'
base_dn: 'DC=md,DC=loc'
additional_users_dn: 'CN=users'
users_filter: '(&({username_attribute}={input})(objectClass=user))'
additional_groups_dn: 'CN=groups'
groups_filter: '(&(member={dn})(objectClass=group))'
group_search_mode: 'filter'
permit_referrals: false
permit_unauthenticated_bind: false
permit_feature_detection_failure: false
user: 'CN=admin,CN=users,DC=md,DC=loc'
password: 'PASSWORD'
attributes:
distinguished_name: 'distinguishedName'
username: 'uid'
display_name: 'displayName'
family_name: 'cn'
given_name: 'givenName'
middle_name: 'middleName'
nickname: ''
gender: ''
birthdate: ''
website: 'webpage'
profile: ''
picture: ''
zoneinfo: ''
locale: ''
phone_number: 'telephoneNumber'
phone_extension: ''
street_address: ''
locality: ''
region: ''
postal_code: ''
country: ''
mail: 'mail'
member_of: 'memberOf'
group_name: 'cn'
extra:
extra_example:
name: ''
multi_valued: false
value_type: 'string'
field descriptions
- address – IP address of the MULTIDIRECTORY server
- base_dn – base DN for user and group searches
- additional_users_dn — additional DN path for user lookups
- users_filter – LDAP search filter for users
- additional_groups_dn – additional DN path for group lookups
- groups_filter – LDAP search filter for groups
- permit_unauthenticated_bind – allows anonymous bind requests
- user – DN of the service account with read access to the directory (used for LDAP binding)
- password – password for the LDAP service account specified above
- attributes – mapping of LDAP attributes to user fields in the system (optional)