aboutsummaryrefslogtreecommitdiffstats
path: root/modules/transifex/templates
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-03-08 15:50:16 +0000
committerMichael Scherer <misc@mageia.org>2011-03-08 15:50:16 +0000
commit92dd221e8d084ab92682ff8ae215f9b76128e852 (patch)
tree363994d064f181b1e10ee8c46fc74e2df4c95b0c /modules/transifex/templates
parent47701f5f1d7e26095f06203489c98747d36e281e (diff)
downloadpuppet-92dd221e8d084ab92682ff8ae215f9b76128e852.tar
puppet-92dd221e8d084ab92682ff8ae215f9b76128e852.tar.gz
puppet-92dd221e8d084ab92682ff8ae215f9b76128e852.tar.bz2
puppet-92dd221e8d084ab92682ff8ae215f9b76128e852.tar.xz
puppet-92dd221e8d084ab92682ff8ae215f9b76128e852.zip
- do not hardcode the hostname of the server, in case we need to change it
( for example if the service is migrated to another one )
Diffstat (limited to 'modules/transifex/templates')
-rw-r--r--modules/transifex/templates/45-ldap.conf2
1 files changed, 1 insertions, 1 deletions
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 %> ",