From 3db6b11f27665370570d5d3e472236ad72e22194 Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Wed, 14 Mar 2018 21:49:30 +0200 Subject: duvel ldap is still bdb --- modules/openldap/templates/slapd.conf | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'modules/openldap') diff --git a/modules/openldap/templates/slapd.conf b/modules/openldap/templates/slapd.conf index b7f23201..20ecc944 100644 --- a/modules/openldap/templates/slapd.conf +++ b/modules/openldap/templates/slapd.conf @@ -30,13 +30,11 @@ pidfile /var/run/ldap/slapd.pid argsfile /var/run/ldap/slapd.args modulepath <%= lib_dir %>/openldap -<% if scope.function_versioncmp([lsbdistrelease, '4']) >= 0 %> -<% if scope.function_versioncmp([lsbdistrelease, '6']) < 0 -%> +<% if @hostname == 'duvel' then %> moduleload back_bdb.la <% else %> moduleload back_mdb.la <% end %> -<% end %> moduleload back_monitor.la moduleload syncprov.la moduleload ppolicy.la @@ -66,7 +64,7 @@ access to dn.subtree="cn=Monitor" by group.exact="cn=LDAP Admins,ou=System Groups,<%= dc_suffix %>" read by * none -<% if scope.function_versioncmp([lsbdistrelease, '6']) < 0 -%> +<% if @hostname == 'duvel' then %> database bdb <% else %> database mdb @@ -78,7 +76,7 @@ directory /var/lib/ldap rootdn "cn=manager,<%= dc_suffix %>" checkpoint 256 5 -<% if scope.function_versioncmp([lsbdistrelease, '6']) < 0 -%> +<% if @hostname == 'duvel' then %> # 32Mbytes, can hold about 10k posixAccount entries dbconfig set_cachesize 0 33554432 1 dbconfig set_lg_bsize 2097152 -- cgit v1.2.1