Commit 7f381832 authored by Rein Tollevik's avatar Rein Tollevik
Browse files

Added bdb/hdb checkpoint directive. Fixed typo.

parent 001b30eb
......@@ -23,7 +23,7 @@
echo "Running defines.sh"
. $SRCDIR/scripts/defines.sh
test "$INITIATION_RACE_TESTS" = "x" && INITIATION_RACE_TESTS=1
test "x$INITIATION_RACE_TESTS" = "x" && INITIATION_RACE_TESTS=1
if test $SYNCPROV = syncprovno; then
echo "Syncrepl provider overlay not available, test skipped"
......@@ -60,6 +60,11 @@ KILLPIDS=
$SLAPPASSWD -g -n >$CONFIGPWF
case "$BACKEND" in
bdb|hdb) olcDbCheckpoint="olcDbCheckpoint";;
*) olcDbCheckpoint="# olcDbCheckpoint";;
esac
echo "Initializing server configurations"
for dir in $DIRS; do
$SLAPADD -F $dir/slapd.d -n 0 <<EOF
......@@ -201,6 +206,7 @@ objectClass: olcDatabaseConfig
objectClass: olc${BACKEND}Config
olcDatabase: {1}$BACKEND
olcDbDirectory: ./db
$olcDbCheckpoint: 1024 5
olcSuffix: $BASEDN
olcRootDN: $MANAGERDN
olcRootPW: $PASSWD
......@@ -251,6 +257,7 @@ objectClass: olcDatabaseConfig
objectClass: olc${BACKEND}Config
olcDatabase: {1}$BACKEND
olcDbDirectory: ./db
$olcDbCheckpoint: 1024 5
olcSuffix: $BASEDN
olcRootDN: $MANAGERDN
olcRootPW: $PASSWD
......@@ -287,6 +294,7 @@ objectClass: olcDatabaseConfig
objectClass: olc${BACKEND}Config
olcDatabase: {1}$BACKEND
olcDbDirectory: ./db
$olcDbCheckpoint: 1024 5
olcSuffix: $BASEDN
olcRootDN: $MANAGERDN
olcRootPW: $PASSWD
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment