mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-26 08:42:53 -05:00
Added bdb/hdb checkpoint directive. Fixed typo.
This commit is contained in:
parent
001b30ebc6
commit
7f38183281
1 changed files with 9 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue