mirror of
https://github.com/lldap/lldap.git
synced 2024-11-25 09:06:03 +00:00
30 lines
489 B
Text
30 lines
489 B
Text
# .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.
|
|
LDAP_BASE=ou=people,dc=example,dc=com
|
|
|
|
# LDAP user DN.
|
|
LDAP_BINDDN=uid=admin,ou=people,dc=example,dc=com
|
|
|
|
# LLDAP admin password.
|
|
LDAP_BINDPW=password
|
|
|
|
# LDAP filter.
|
|
LDAP_FILTER=(&(uid=%u)(objectClass=person))
|
|
|
|
# LDAP authentication method
|
|
LDAP_AUTH_METHOD=bind
|