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.conf14
1 files changed, 8 insertions, 6 deletions
diff --git a/modules/sympa/templates/auth.conf b/modules/sympa/templates/auth.conf
index 220118b5..854fdf9c 100644
--- a/modules/sympa/templates/auth.conf
+++ b/modules/sympa/templates/auth.conf
@@ -1,13 +1,15 @@
ldap
- host ldap.<%= domain %>:389
+ host ldap.<%= domain %>
timeout 30
suffix <%= dc_suffix %>
get_dn_by_uid_filter (uid=[sender])
- get_dn_by_email (|(mail=[sender])(mailalternateaddress=[sender]))
+ get_dn_by_email_filter (|(mail=[sender])(mailalternateaddress=[sender]))
email_attribute mail
scope sub
- use_ssl 1
-
-user_table
- regexp .*
+ use_tls ldaps
+ ssl_version tlsv1_2
+ ca_verify none
+ bind_dn cn=sympa-<%= hostname %>,ou=System Accounts,<%= dc_suffix %>
+ bind_password <%= scope.lookupvar("sympa::server::ldap_password") %>
+ authentication_info_url <%= authentication_info_url %>