summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-04-24 08:07:58 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-04-24 08:07:58 (GMT)
commitfd1af0f3cbfdef7530988b5c7c10754bee6bc45c (patch)
treeb91bd1ede90c57f419cb9c88c94bd64772f44278
parent666db0b7e2efe832951f4cd3cf4491f11740c8f5 (diff)
downloadpratic-fd1af0f3cbfdef7530988b5c7c10754bee6bc45c.zip
pratic-fd1af0f3cbfdef7530988b5c7c10754bee6bc45c.tar.gz
pratic-fd1af0f3cbfdef7530988b5c7c10754bee6bc45c.tar.bz2
Merge with slapd.conf in production, add indexes
-rw-r--r--idp/ldap/slapd.conf8
1 files changed, 6 insertions, 2 deletions
diff --git a/idp/ldap/slapd.conf b/idp/ldap/slapd.conf
index e06d1f6..f53e742 100644
--- a/idp/ldap/slapd.conf
+++ b/idp/ldap/slapd.conf
@@ -29,7 +29,7 @@ modulepath /usr/lib/ldap
moduleload back_bdb
# The maximum number of entries that is returned for a search operation
-sizelimit 2000
+sizelimit 20000
# The tool-threads parameter sets the actual amount of cpu's that is used
# for indexing.
@@ -68,7 +68,7 @@ directory "/var/lib/ldap"
# For the Debian package we use 2MB as default but be sure to update this
# value if you have plenty of RAM
-dbconfig set_cachesize 0 3097152 0
+dbconfig set_cachesize 0 40097152 0
dbconfig set_flags DB_LOG_AUTOREMOVE
# Sven Hartge reported that he had to set this value incredibly high
@@ -84,6 +84,10 @@ dbconfig set_lk_max_lockers 1500
# Indexing options for database #1
index objectClass eq
+index default pres,eq
+index objectclass
+index uid eq,subinitial
+index cn,givenname,sn eq,sub
# Save the time that the entry gets modified, for database #1
lastmod on