summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
Diffstat (limited to 'source4/setup')
-rw-r--r--source4/setup/DB_CONFIG23
-rw-r--r--source4/setup/modules.conf1
2 files changed, 24 insertions, 0 deletions
diff --git a/source4/setup/DB_CONFIG b/source4/setup/DB_CONFIG
index e69de29bb2..3198e17b14 100644
--- a/source4/setup/DB_CONFIG
+++ b/source4/setup/DB_CONFIG
@@ -0,0 +1,23 @@
+# Set the database in memory cache size.
+#
+set_cachesize 0 524288 0
+
+
+#
+# Set database flags (this is a test environment, we don't need to fsync()).
+#
+set_flags DB_TXN_NOSYNC
+
+#
+ Set log values.
+#
+set_lg_regionmax 104857
+set_lg_max 1048576
+set_lg_bsize 209715
+set_lg_dir ${LDAPDBDIR}/bdb-logs
+
+
+#
+# Set temporary file creation directory.
+#
+set_tmp_dir ${LDAPDBDIR}/tmp
diff --git a/source4/setup/modules.conf b/source4/setup/modules.conf
new file mode 100644
index 0000000000..c90dab767f
--- /dev/null
+++ b/source4/setup/modules.conf
@@ -0,0 +1 @@
+#OpenLDAP modules configuration file for ${REALM}