aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/templates/auth.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sympa/templates/auth.conf')
-rw-r--r--modules/sympa/templates/auth.conf8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/sympa/templates/auth.conf b/modules/sympa/templates/auth.conf
index 64256253..854fdf9c 100644
--- a/modules/sympa/templates/auth.conf
+++ b/modules/sympa/templates/auth.conf
@@ -6,8 +6,10 @@ ldap
get_dn_by_email_filter (|(mail=[sender])(mailalternateaddress=[sender]))
email_attribute mail
scope sub
- use_ssl 1
+ use_tls ldaps
+ ssl_version tlsv1_2
+ ca_verify none
bind_dn cn=sympa-<%= hostname %>,ou=System Accounts,<%= dc_suffix %>
- bind_password <%= ldap_password %>
- authentication_info_url https://identity.<%= domain %>/
+ bind_password <%= scope.lookupvar("sympa::server::ldap_password") %>
+ authentication_info_url <%= authentication_info_url %>