Create LDAP configuration

{% if error %}
 {{ escape(error) }}
{% end %}
{% raw xsrf_form_html() %}
A unique name to identify this LDAP configuration (350 characters).
Use ldap:// for unencrypted and ldaps:// for SSL/TLS.
The base DN where LDAP groups are located.
LDAP attribute containing group members (default: member).
Template to extract usernames use {username} as the placeholder.

Examples

OpenLDAP

  • Server: ldap://ldap.example.com:389
  • Base DN: ou=groups,dc=example,dc=com
  • Member: member
  • Template: uid={username},ou=users,dc=example,dc=com

Active Directory

  • Server: ldaps://ad.company.com:636
  • Base DN: OU=Groups,DC=company,DC=com
  • Member: member
  • Template: CN={username},OU=Users,DC=company,DC=com