aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/bugzilla/templates/params2
-rw-r--r--modules/sympa/templates/auth.conf2
-rw-r--r--modules/sympa/templates/data_sources/ldap_group.incl2
-rw-r--r--modules/transifex/templates/45-ldap.conf2
4 files changed, 4 insertions, 4 deletions
diff --git a/modules/bugzilla/templates/params b/modules/bugzilla/templates/params
index 6a9bedfc..d76a44c4 100644
--- a/modules/bugzilla/templates/params
+++ b/modules/bugzilla/templates/params
@@ -1,6 +1,6 @@
%param = (
'LDAPBaseDN' => 'ou=People,<%= dc_suffix %>',
- 'LDAPbinddn' => 'cn=bugzilla-alamut,ou=System Accounts,<%= dc_suffix %>:<%= ldap_password %>',
+ 'LDAPbinddn' => 'cn=bugzilla-<%= hostname %>,ou=System Accounts,<%= dc_suffix %>:<%= ldap_password %>',
'LDAPfilter' => '',
'LDAPmailattribute' => 'mail',
'LDAPserver' => 'ldap.<%= domain %>',
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
diff --git a/modules/transifex/templates/45-ldap.conf b/modules/transifex/templates/45-ldap.conf
index 9ee198ca..a07b3724 100644
--- a/modules/transifex/templates/45-ldap.conf
+++ b/modules/transifex/templates/45-ldap.conf
@@ -19,7 +19,7 @@ from django_auth_ldap.config import LDAPSearch, GroupOfNamesType
# Baseline configuration.
AUTH_LDAP_SERVER_URI = "ldap://ldap.<%= domain %>"
-AUTH_LDAP_BIND_DN = "cn=transifex-alamut,ou=System Accounts,<%= dc_suffix %>"
+AUTH_LDAP_BIND_DN = "cn=transifex-<%= hostname %>,ou=System Accounts,<%= dc_suffix %>"
AUTH_LDAP_BIND_PASSWORD = "<%= ldap_password %>"
AUTH_LDAP_USER_SEARCH = LDAPSearch("ou=People,<%= dc_suffix %> ",