From 2dfe29dfcd35fae7160178e329fb0647cc896e3b Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 7 Jul 2014 18:37:30 +0200 Subject: Remove o=mailHosting from the LDAP directory suffix. So our suffix is now a mere 'dc=fripost,dc=org'. We're also using the default '/var/lib/ldap' as olcDbDirectory (hence we don't clear it before hand). --- roles/common-LDAP/files/var/lib/ldap/DB_CONFIG | 20 ++++++++++++++++++++ .../common-LDAP/files/var/lib/ldap/fripost/DB_CONFIG | 20 -------------------- 2 files changed, 20 insertions(+), 20 deletions(-) create mode 100644 roles/common-LDAP/files/var/lib/ldap/DB_CONFIG delete mode 100644 roles/common-LDAP/files/var/lib/ldap/fripost/DB_CONFIG (limited to 'roles/common-LDAP/files/var/lib') diff --git a/roles/common-LDAP/files/var/lib/ldap/DB_CONFIG b/roles/common-LDAP/files/var/lib/ldap/DB_CONFIG new file mode 100644 index 0000000..07738c2 --- /dev/null +++ b/roles/common-LDAP/files/var/lib/ldap/DB_CONFIG @@ -0,0 +1,20 @@ +# It may be a good idea to modify this file, depending on the output of +# +# db_stat -mh /var/lib/ldap | head -16 +# +# (For optimal performance, the Requested pages found in the cache +# should be above 95%, and the dirty/clean pages forced from the cache +# should be 0.) +# +# and +# +# db_stat -ch /var/lib/ldap | head -16 +# +# (For optimal performance, usage should be within 85% of the configured +# values.) +# +# 5MB cachesize +set_cachesize 0 5242880 0 +set_lk_max_objects 1500 +set_lk_max_locks 1500 +set_lk_max_lockers 1500 diff --git a/roles/common-LDAP/files/var/lib/ldap/fripost/DB_CONFIG b/roles/common-LDAP/files/var/lib/ldap/fripost/DB_CONFIG deleted file mode 100644 index c7072dc..0000000 --- a/roles/common-LDAP/files/var/lib/ldap/fripost/DB_CONFIG +++ /dev/null @@ -1,20 +0,0 @@ -# It may be a good idea to modify this file, depending on the output of -# -# db_stat -mh /var/lib/ldap/fripost | head -16 -# -# (For optimal performance, the Requested pages found in the cache -# should be above 95%, and the dirty/clean pages forced from the cache -# should be 0.) -# -# and -# -# db_stat -ch /var/lib/ldap/fripost | head -16 -# -# (For optimal performance, usage should be within 85% of the configured -# values.) -# -set_cachesize 0 5242880 1 -# 5MB cachesize, allow defragmentation -set_lk_max_objects 1500 -set_lk_max_locks 1500 -set_lk_max_lockers 1500 -- cgit v1.2.3