aboutsummaryrefslogtreecommitdiff
path: root/conf/.env.production.sample
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2020-04-07 03:16:50 +0200
committeryalh76 <yalh@yahoo.com>2020-04-07 03:16:50 +0200
commit243666e212923f1cc7fa7be86a7900b719505473 (patch)
treeeedc9e0d8566035b6086101ecff50ec76125d603 /conf/.env.production.sample
parent84ddd5f934ec999d7819a82200c9332b5b16f8d3 (diff)
downloadmastodon_ynh-243666e212923f1cc7fa7be86a7900b719505473.tar.gz
mastodon_ynh-243666e212923f1cc7fa7be86a7900b719505473.tar.bz2
mastodon_ynh-243666e212923f1cc7fa7be86a7900b719505473.zip
Update .env.production.sample
Diffstat (limited to 'conf/.env.production.sample')
-rw-r--r--conf/.env.production.sample6
1 files changed, 5 insertions, 1 deletions
diff --git a/conf/.env.production.sample b/conf/.env.production.sample
index d2f4b91..d27bf87 100644
--- a/conf/.env.production.sample
+++ b/conf/.env.production.sample
@@ -178,7 +178,11 @@ 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_SEARCH_FILTER="%{uid}=%{email}"
+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)