
# @See https://hub.docker.com/r/bitnami/openldap
      
# GENERAL
## Database
LDAP_ADMIN_USERNAME=        {{applications[application_id].users.administrator.username}}      # LDAP database admin user.
LDAP_ADMIN_PASSWORD=        {{applications[application_id].credentials.administrator_database_password}}   # LDAP database admin password.

## Users
LDAP_USERS=                 ' '                             # Comma separated list of LDAP users to create in the default LDAP tree. Default: user01,user02
LDAP_PASSWORDS=             ' '                             # Comma separated list of passwords to use for LDAP users. Default: bitnami1,bitnami2
LDAP_ROOT=                  {{ldap.dn.root}}                # LDAP baseDN (or suffix) of the LDAP tree. Default: dc=example,dc=org

## Admin
LDAP_ADMIN_DN=              {{ldap.dn.administrator}}
LDAP_CONFIG_ADMIN_ENABLED=  yes
LDAP_CONFIG_ADMIN_USERNAME= {{applications[application_id].users.administrator.username}}
LDAP_CONFIG_ADMIN_PASSWORD= {{applications[application_id].credentials.administrator_password}}
  
# Network
LDAP_PORT_NUMBER=           {{ldap_docker_port}}            # Route to default port
LDAP_ENABLE_TLS=            no                              # Using nginx proxy for tls
LDAP_LDAPS_PORT_NUMBER=     {{ldaps_docker_port}}           # Port used for TLS secure traffic. Priviledged port is supported (e.g. 636). Default: 1636 (non privileged port).

# Security
LDAP_ALLOW_ANON_BINDING=    no                              # Allow anonymous bindings to the LDAP server. Default: yes.