aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/sympa/templates/auth.conf2
-rw-r--r--modules/sympa/templates/config2
-rw-r--r--modules/sympa/templates/data_sources/ldap_group.incl2
-rw-r--r--modules/sympa/templates/search_filters/group.ldap2
-rw-r--r--modules/sympa/templates/sympa.conf2
5 files changed, 5 insertions, 5 deletions
diff --git a/modules/sympa/templates/auth.conf b/modules/sympa/templates/auth.conf
index af998b68..203dfe7c 100644
--- a/modules/sympa/templates/auth.conf
+++ b/modules/sympa/templates/auth.conf
@@ -8,6 +8,6 @@ ldap
scope sub
use_ssl 1
bind_dn cn=sympa-<%= hostname %>,ou=System Accounts,<%= dc_suffix %>
- bind_password <%= ldap_password %>
+ bind_password <%= scope.lookupvar("sympa::server::ldap_password") %>
authentication_info_url <%= authentication_info_url %>
diff --git a/modules/sympa/templates/config b/modules/sympa/templates/config
index e55785bd..f1463362 100644
--- a/modules/sympa/templates/config
+++ b/modules/sympa/templates/config
@@ -69,7 +69,7 @@ include_ldap_query
scope one
use_ssl yes
user cn=sympa-<%= hostname %>,ou=System Accounts,<%= dc_suffix %>
- passwd <%= ldap_password %>
+ passwd <%= scope.lookupvar("sympa::server::ldap_password") %>
<% end %>
diff --git a/modules/sympa/templates/data_sources/ldap_group.incl b/modules/sympa/templates/data_sources/ldap_group.incl
index daded0ff..ca0afbcc 100644
--- a/modules/sympa/templates/data_sources/ldap_group.incl
+++ b/modules/sympa/templates/data_sources/ldap_group.incl
@@ -2,7 +2,7 @@ include_ldap_2level_query
host ldap.<%= domain %>
use_ssl yes
user cn=sympa-<%= hostname %>,ou=System Accounts,<%= dc_suffix %>
- passwd <%= ldap_password %>
+ passwd <%= scope.lookupvar("sympa::server::ldap_password") %>
suffix1 ou=Group,<%= dc_suffix %>
scope1 one
filter1 (&(objectClass=groupOfNames)(cn=<%= name %>))
diff --git a/modules/sympa/templates/search_filters/group.ldap b/modules/sympa/templates/search_filters/group.ldap
index fd1f28d9..b4dc7117 100644
--- a/modules/sympa/templates/search_filters/group.ldap
+++ b/modules/sympa/templates/search_filters/group.ldap
@@ -1,6 +1,6 @@
host ldap.<%= domain %>:636
bind_dn cn=sympa-<%= hostname %>,ou=System Accounts,<%= dc_suffix %>
-bind_password <%= ldap_password %>
+bind_password <%= scope.lookupvar("sympa::server::ldap_password") %>
use_ssl yes
suffix ou=People,<%= dc_suffix %>
filter (&(mail=[sender])(memberOf=cn=<%= name %>,ou=Group,<%= dc_suffix %>))
diff --git a/modules/sympa/templates/sympa.conf b/modules/sympa/templates/sympa.conf
index 43a1a6d2..4fb60941 100644
--- a/modules/sympa/templates/sympa.conf
+++ b/modules/sympa/templates/sympa.conf
@@ -265,7 +265,7 @@ db_user sympa
## Database password (associated to the db_user)
## What ever you use a password or not, you must protect the SQL server (is it a not a public internet service ?)
-db_passwd <%= pgsql_password %>
+db_passwd <%= scope.lookupvar("sympa::server::pgsql_password") %>
## Database private extention to user table
## You need to extend the database format with these fields