From cd6351ab1212d5dea85db326113c887065b1efd6 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sat, 20 Nov 2010 11:52:54 +0000 Subject: - do not let file with passwords to be world readable ( even if being readable by apache is not good either, but needed as the password is used by apache ) - use ldaps for sympa - use the 2 new facter macro and remove the version copied everywhere - remove hardcoded domain in bugzilla and others --- modules/openldap/templates/slapd.conf | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'modules/openldap') diff --git a/modules/openldap/templates/slapd.conf b/modules/openldap/templates/slapd.conf index faf46dba..7edab29b 100644 --- a/modules/openldap/templates/slapd.conf +++ b/modules/openldap/templates/slapd.conf @@ -1,9 +1,3 @@ -<% -dc_suffix = 'dc=' + domain.gsub('.',',dc=') -path_module_directory = "/usr/lib" + ( architecture == "x86_64" ? '64' : '') + "/openldap" - -%> - # slapd.conf template include /usr/share/openldap/schema/core.schema include /usr/share/openldap/schema/cosine.schema @@ -32,7 +26,7 @@ include /usr/share/openldap/schema/openssh-lpk_openldap.schema pidfile /var/run/ldap/slapd.pid argsfile /var/run/ldap/slapd.args -modulepath <%= path_module_directory %> +modulepath <%= lib_dir %>/openldap moduleload back_monitor.la moduleload syncprov.la moduleload ppolicy.la -- cgit v1.2.1