2021-10-28 16:22:25 +00:00
|
|
|
# .env file
|
|
|
|
|
|
|
|
# Enable authentication
|
|
|
|
ENABLE_AUTH=1
|
|
|
|
|
|
|
|
# Enable guest access
|
|
|
|
ENABLE_GUESTS=1
|
|
|
|
|
|
|
|
# Select authentication type
|
|
|
|
AUTH_TYPE=ldap
|
|
|
|
|
|
|
|
# LDAP authentication
|
|
|
|
|
|
|
|
# LDAP url for connection
|
|
|
|
LDAP_URL=ldap://IP:3890
|
|
|
|
|
|
|
|
# LDAP base DN.
|
2021-12-02 06:39:03 +00:00
|
|
|
LDAP_BASE=ou=people,dc=example,dc=com
|
2021-10-28 16:22:25 +00:00
|
|
|
|
|
|
|
# LDAP user DN.
|
2022-04-29 07:46:46 +00:00
|
|
|
LDAP_BINDDN=uid=admin,ou=people,dc=example,dc=com
|
2021-10-28 16:22:25 +00:00
|
|
|
|
|
|
|
# LLDAP admin password.
|
|
|
|
LDAP_BINDPW=password
|
|
|
|
|
|
|
|
# LDAP filter.
|
|
|
|
LDAP_FILTER=(&(uid=%u)(objectClass=person))
|
|
|
|
|
|
|
|
# LDAP authentication method
|
|
|
|
LDAP_AUTH_METHOD=bind
|