LogoLogo
HomeDiscordYouTubeDisclaimer
  • Authelia
    • Installation
      • Unraid
      • Docker Compose
    • Configuration
    • Reverse-Proxy
    • Rules
  • OpenLDAP
    • Installation
      • Unraid
      • Docker Compose
    • Configuration
  • OpenID Connect
    • Cloudflare Tunnel Setup
    • Authelia Setup
    • Registering OIDC Provider
    • Cloudflare & Authelia
    • Extras
  • Configuration Files
    • configuration.yml
    • users_database.yml
  • LDAP
    • LDAP - FreeIPA
    • LDAP - OpenLDAP
    • LDAP - Active Directory
    • LDAP - LLDAP / Light LDAP
  • OIDC
    • OIDC - configuration.yml
  • NGINX
    • NGINX Config - Endpoint
    • NGINX Config - Authelia
  • 🎯DO I NEED AN UPDATE?
    • Update Me!
  • ❗Disclaimer
    • Read Our Disclaimer
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. LDAP

LDAP - OpenLDAP

If you are using OpenLDAP, use this in your configuration.yml instead of the file authentication.

PreviousLDAP - FreeIPANextLDAP - Active Directory

Last updated 3 years ago

Was this helpful?

First, follow the guide if you have not done so already.

In your , now replace the file/LDAP section with the below and fill in the details accordingly, remembering to replace domain with your domain details. If you are running the openldap container outside the docker network, you will have to replace openldap in the url section for the openldap container IP.

  ldap:
    implementation: custom
    url: ldap://openldap
    timeout: 5s
    start_tls: false
    tls:
      server_name: domain.com
      skip_verify: false
      minimum_version: TLS1.2
    base_dn: DC=domain,DC=com
    username_attribute: uid
    additional_users_dn: ou=users
    users_filter: (&({username_attribute}={input})(objectClass=person))
    additional_groups_dn: ou=groups
    groups_filter: (&(member={dn})(objectClass=groupOfNames))
    group_name_attribute: cn
    mail_attribute: mail
    display_name_attribute: displayName
    user: CN=admin,DC=domain,DC=com
    password: "password"

Source -

here
OpenLDAP
configuration.yml
https://www.authelia.com/docs/configuration/authentication/ldap.html#configuration