summaryrefslogtreecommitdiff
path: root/source4/setup/DB_CONFIG
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-05-29 23:24:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:53:04 -0500
commit66d0f5c7a35d2a4b1dd9c444d7f68d779ab6fc18 (patch)
treebafb661506badf6f103bb06436dc130f38fe6b04 /source4/setup/DB_CONFIG
parent0ab01a99a8fc6b90fd449f14131b64240862351b (diff)
downloadsamba-66d0f5c7a35d2a4b1dd9c444d7f68d779ab6fc18.tar.gz
samba-66d0f5c7a35d2a4b1dd9c444d7f68d779ab6fc18.tar.bz2
samba-66d0f5c7a35d2a4b1dd9c444d7f68d779ab6fc18.zip
r23232: Add in some extra files required by the new provision-backend.
(sorry for breaking the build) Andrew Bartlett (This used to be commit 0108334fe3331b7a2cfa972c6f0674b56d436cb5)
Diffstat (limited to 'source4/setup/DB_CONFIG')
-rw-r--r--source4/setup/DB_CONFIG23
1 files changed, 23 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