Commit 76ff2558 authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#9339 Add cn=monitor to test063

Just for convenience
parent 1748ec59
......@@ -111,6 +111,17 @@ olcModuleLoad: back_$BACKEND.la
EOF
fi
if [ "$MONITORDB" = mod ]; then
cat <<EOF >> $TMP
dn: cn=module,cn=config
objectClass: olcModuleList
cn: module
olcModulePath: $TESTWD/../servers/slapd/back-monitor
olcModuleLoad: back_monitor.la
EOF
fi
MYURI=`eval echo '$URI'$n`
PROVIDERURI=`eval echo '$URI'$o`
if test $INDEXDB = indexdb ; then
......@@ -186,6 +197,16 @@ olcAccessLogOps: writes
olcAccessLogSuccess: TRUE
EOF
if [ "$MONITORDB" != no ]; then
cat <<EOF >> $TMP
dn: olcDatabase={3}monitor,cn=config
objectClass: olcDatabaseConfig
objectClass: olcmonitorConfig
olcDatabase: {3}monitor
EOF
fi
$SLAPADD -F $CFDIR -n 0 -d-1< $TMP > $TESTOUT 2>&1
PORT=`eval echo '$PORT'$n`
echo "Starting server $n on TCP/IP port $PORT..."
......
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