aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sympa')
-rw-r--r--modules/sympa/templates/auth.conf2
-rw-r--r--modules/sympa/templates/data_sources/ldap_group.incl2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/sympa/templates/auth.conf b/modules/sympa/templates/auth.conf
index 94f3ee35..64256253 100644
--- a/modules/sympa/templates/auth.conf
+++ b/modules/sympa/templates/auth.conf
@@ -7,7 +7,7 @@ ldap
email_attribute mail
scope sub
use_ssl 1
- bind_dn cn=sympa-alamut,ou=System Accounts,<%= dc_suffix %>
+ bind_dn cn=sympa-<%= hostname %>,ou=System Accounts,<%= dc_suffix %>
bind_password <%= ldap_password %>
authentication_info_url https://identity.<%= domain %>/
diff --git a/modules/sympa/templates/data_sources/ldap_group.incl b/modules/sympa/templates/data_sources/ldap_group.incl
index dc9addd8..4517fe26 100644
--- a/modules/sympa/templates/data_sources/ldap_group.incl
+++ b/modules/sympa/templates/data_sources/ldap_group.incl
@@ -1,7 +1,7 @@
include_ldap_2level_query
host ldap.<%= domain %>
use_ssl yes
- user cn=sympa-alamut,ou=System Accounts,<%= dc_suffix %>
+ user cn=sympa-<%= hostname %>,ou=System Accounts,<%= dc_suffix %>
passwd <%= ldap_password %>
suffix1 ou=Group,<%= dc_suffix %>
scope1 one