diff options
| author | yalh76 <yalh@yahoo.com> | 2020-04-16 20:38:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-16 20:38:16 +0200 |
| commit | 6b30109fc986d83166b1805ec3ad7e28200e3743 (patch) | |
| tree | 78e18208680a5eae1b0c5d38a10d0542e1f63854 /conf/.env.production.sample | |
| parent | 7e1f4c2dee5f2c8374686aea62f4648cdf2722c3 (diff) | |
| parent | 6650cdd372df215e37250501f6ab8d345941a29b (diff) | |
| download | mastodon_ynh-6b30109fc986d83166b1805ec3ad7e28200e3743.tar.gz mastodon_ynh-6b30109fc986d83166b1805ec3ad7e28200e3743.tar.bz2 mastodon_ynh-6b30109fc986d83166b1805ec3ad7e28200e3743.zip | |
Merge pull request #212 from YunoHost-Apps/testing
Implement LDAP
Diffstat (limited to 'conf/.env.production.sample')
| -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 |
