From 243666e212923f1cc7fa7be86a7900b719505473 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 7 Apr 2020 03:16:50 +0200 Subject: [PATCH] Update .env.production.sample --- conf/.env.production.sample | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)