diff options
| author | yalh76 <yalh@yahoo.com> | 2020-04-08 19:56:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-08 19:56:36 +0200 |
| commit | 5e7b5455f8983cb7fcaff367a8cea5299b96a81a (patch) | |
| tree | 445a466afe3a4061c8f60c39a5643bc7ea489863 /conf | |
| parent | bf0dea0f437c00db213c27da299a0dda65810d6a (diff) | |
| parent | 437cde4033be799bf562ce0fcb4b8c4b97b76b65 (diff) | |
| download | mastodon_ynh-5e7b5455f8983cb7fcaff367a8cea5299b96a81a.tar.gz mastodon_ynh-5e7b5455f8983cb7fcaff367a8cea5299b96a81a.tar.bz2 mastodon_ynh-5e7b5455f8983cb7fcaff367a8cea5299b96a81a.zip | |
Merge pull request #165 from YunoHost-Apps/ldap
Implement LDAP on Mastodon_YNH
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/.env.production.sample | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/conf/.env.production.sample b/conf/.env.production.sample index 8b992d9..d27bf87 100644 --- a/conf/.env.production.sample +++ b/conf/.env.production.sample @@ -170,19 +170,20 @@ 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_MAIL=mail -# LDAP_SEARCH_FILTER=(|(%{uid}=%{email})(%{mail}=%{email})) -# LDAP_UID_CONVERSION_ENABLED=true -# LDAP_UID_CONVERSION_SEARCH=., - -# LDAP_UID_CONVERSION_REPLACE=_ +LDAP_ENABLED=true +LDAP_HOST=localhost +LDAP_PORT=389 +LDAP_METHOD=start_tls +LDAP_BASE=ou=users,dc=yunohost,dc=org +LDAP_BIND_DN=uid=local,ou=users,dc=yunohost,dc=org +LDAP_PASSWORD= +LDAP_UID=uid +LDAP_MAIL=mail +LDAP_SEARCH_FILTER=(|(%{uid}=%{email})(%{mail}=%{email})) +LDAP_UID_CONVERSION_ENABLED=true +LDAP_UID_CONVERSION_SEARCH=., - +LDAP_UID_CONVERSION_REPLACE=_ +LDAP_TLS_NO_VERIFY=true # PAM authentication (optional) # PAM authentication uses for the email generation the "email" pam variable |
