From 92dd221e8d084ab92682ff8ae215f9b76128e852 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 8 Mar 2011 15:50:16 +0000 Subject: - 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 ) --- modules/transifex/templates/45-ldap.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/transifex/templates') 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 %> ", -- cgit v1.2.1