diff options
| author | yalh76 <yalh@yahoo.com> | 2019-07-10 01:07:32 +0200 |
|---|---|---|
| committer | yalh76 <yalh@yahoo.com> | 2019-07-10 01:07:32 +0200 |
| commit | feab0450d821b21cdc8a8fc0ee9ae9b1e9913d33 (patch) | |
| tree | 16ce9dbb3cb6116b2904daf4abda8addcab3ba56 /conf | |
| parent | e0d8fa20c3694523b15e5602001a2727314698d9 (diff) | |
| download | mastodon_ynh-feab0450d821b21cdc8a8fc0ee9ae9b1e9913d33.tar.gz mastodon_ynh-feab0450d821b21cdc8a8fc0ee9ae9b1e9913d33.tar.bz2 mastodon_ynh-feab0450d821b21cdc8a8fc0ee9ae9b1e9913d33.zip | |
Implement LDAP
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/.env.production.sample | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/conf/.env.production.sample b/conf/.env.production.sample index 203b74b..a444ae2 100644 --- a/conf/.env.production.sample +++ b/conf/.env.production.sample @@ -155,15 +155,15 @@ STREAMING_CLUSTER_NUM=1 # GID=1000 # LDAP authentication (optional) -# LDAP_ENABLED=true -# LDAP_HOST=localhost -# LDAP_PORT=389 -# LDAP_METHOD=simple_tls -# LDAP_BASE=ou=users,dc=yunohost,dc=org -# LDAP_BIND_DN=uid=__LDAP_USER__,ou=users,dc=yunohost,dc=org -# LDAP_PASSWORD=__LDAP_PASSWORD__ -# LDAP_UID=uid -# LDAP_SEARCH_FILTER="%{uid}=%{email}" +LDAP_ENABLED=true +LDAP_HOST=localhost +LDAP_PORT=389 +LDAP_METHOD=simple_tls +LDAP_BASE=ou=users,dc=yunohost,dc=org +LDAP_BIND_DN=uid=__LDAP_USER__,ou=users,dc=yunohost,dc=org +LDAP_PASSWORD=__LDAP_PASSWORD__ +LDAP_UID=uid +LDAP_SEARCH_FILTER="%{uid}=%{email}" # PAM authentication (optional) # PAM authentication uses for the email generation the "email" pam variable |
