mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Issue#9333 - Delete unused TIMING variable left over from OpenLDAP 2.0
This commit is contained in:
parent
c714acb782
commit
27e7da68d7
@ -33,7 +33,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -41,7 +41,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
SERVERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo SERVERPID $SERVERPID
|
||||
@ -71,7 +71,7 @@ fi
|
||||
|
||||
echo "Starting proxy slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $ITSDIR/slapd.conf > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
PROXYPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PROXYPID $PROXYPID
|
||||
@ -167,7 +167,7 @@ case $RC in
|
||||
esac
|
||||
|
||||
echo "Restarting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
SERVERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo SERVERPID $SERVERPID
|
||||
|
@ -46,7 +46,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
SERVERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo SERVERPID $SERVERPID
|
||||
@ -76,7 +76,7 @@ fi
|
||||
|
||||
echo "Starting chain slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $ITSDIR/slapd.conf > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
PROXYPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PROXYPID $PROXYPID
|
||||
|
@ -49,7 +49,7 @@ ITSCONF=$ITSDIR/slapd-meta.conf
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $CONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -105,7 +105,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $METACONF2 > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -144,7 +144,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT3..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $ITSCONF > $CONF3
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL $TIMING > $LOG3 2>&1 &
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL > $LOG3 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -33,7 +33,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -34,7 +34,7 @@ echo "Starting slapd on TCP/IP port $PORT1... $PWD"
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $DYNAMICCONF > $CONFLDIF
|
||||
$SLAPADD -F $CONFDIR -n 0 -l $CONFLDIF
|
||||
cd $TESTDIR
|
||||
$SLAPD -F ./slapd.d -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -F ./slapd.d -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -139,7 +139,7 @@ olcOverlay: syncprov
|
||||
EOF
|
||||
|
||||
echo "Starting provider..."
|
||||
$SLAPD -F ./slapd.d -h "$SURIP1 ldaps://127.0.0.2:$PORT1" -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -F ./slapd.d -h "$SURIP1 ldaps://127.0.0.2:$PORT1" -d $LVL > $LOG1 2>&1 &
|
||||
MASTERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo MASTERPID $MASTERPID
|
||||
@ -181,7 +181,7 @@ olcSyncRepl: rid=001 provider=ldaps://127.0.0.2:$PORT1
|
||||
EOF
|
||||
|
||||
echo "Starting consumer..."
|
||||
$SLAPD -F ./slapd.d -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -F ./slapd.d -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
SLAVEPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo SLAVEPID $SLAVEPID
|
||||
@ -252,7 +252,7 @@ sleep $SLEEP2
|
||||
|
||||
echo "======================= RESTART =======================" >> $LOG1
|
||||
cd $TESTDIR/srv1
|
||||
$SLAPD -F slapd.d -h "$SURIP1 ldaps://127.0.0.2:$PORT1" -d $LVL $TIMING >> $LOG1 2>&1 &
|
||||
$SLAPD -F slapd.d -h "$SURIP1 ldaps://127.0.0.2:$PORT1" -d $LVL >> $LOG1 2>&1 &
|
||||
MASTERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo MASTERPID $MASTERPID
|
||||
|
@ -53,7 +53,7 @@ echo "database config" >> $CONF1
|
||||
echo "include $TESTDIR/configpw.conf" >> $CONF1
|
||||
|
||||
echo "Starting slapd listening on $URIP1 and $SURIP2..."
|
||||
$SLAPD -f $CONF1 -h "$URIP1 $SURIP2" -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h "$URIP1 $SURIP2" -d $LVL > $LOG1 2>&1 &
|
||||
SERVERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo SERVERPID $SERVERPID
|
||||
@ -86,7 +86,7 @@ echo "include $TESTDIR/configpw.conf" >> $CONF2
|
||||
|
||||
echo "Starting proxy slapd on TCP/IP port $PORT3..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $ITSDIR/slapd.conf > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI3 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI3 -d $LVL > $LOG2 2>&1 &
|
||||
PROXYPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PROXYPID $PROXYPID
|
||||
|
@ -72,7 +72,7 @@ while [ $n -le $MPR ]; do
|
||||
CFDIR=${XDIR}$n/slapd.d
|
||||
|
||||
echo "Starting provider slapd on TCP/IP URI $MYURI"
|
||||
$SLAPD -F $CFDIR -h $MYURI -d $LVL $TIMING > $MYLOG 2>&1 &
|
||||
$SLAPD -F $CFDIR -h $MYURI -d $LVL > $MYLOG 2>&1 &
|
||||
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
|
@ -47,7 +47,7 @@ ITSDIR=$DATADIR/regressions/its$ITS
|
||||
echo "Starting provider slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $ITSDIR/slapd-provider.ldif > $CONFLDIF
|
||||
$SLAPADD -F $CFPRO -n 0 -l $CONFLDIF
|
||||
$SLAPD -F $CFPRO -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -F $CFPRO -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -78,7 +78,7 @@ fi
|
||||
echo "Starting consumer slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $ITSDIR/slapd-consumer.ldif > $CONFLDIF
|
||||
$SLAPADD -F $CFCON -n 0 -l $CONFLDIF
|
||||
$SLAPD -F $CFCON -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -F $CFCON -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
SLAVEPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo SLAVEPID $SLAVEPID
|
||||
|
@ -40,7 +40,7 @@ ITSDIR=$DATADIR/regressions/its$ITS
|
||||
echo "Starting provider slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $ITSDIR/slapd-provider.ldif > $CONFLDIF
|
||||
$SLAPADD -F $CFPRO -n 0 -l $CONFLDIF
|
||||
$SLAPD -F $CFPRO -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -F $CFPRO -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -40,7 +40,7 @@ ITSDIR=$DATADIR/regressions/its$ITS
|
||||
echo "Starting provider slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $ITSDIR/slapd-provider.ldif > $CONFLDIF
|
||||
$SLAPADD -F $CFPRO -n 0 -l $CONFLDIF
|
||||
$SLAPD -F $CFPRO -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -F $CFPRO -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -69,7 +69,7 @@ KILLPIDS=
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $ITSDIR/slapd.conf > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -182,7 +182,7 @@ while [ $n -le $MPR ]; do
|
||||
if [ -f $TESTDIR/slapd.conf ]; then
|
||||
rm -f $TESTDIR/slapd.conf
|
||||
fi
|
||||
$SLAPD -f $MYCONF -h $MYURI -d $LVL $TIMING >> $MYLOG 2>&1 &
|
||||
$SLAPD -f $MYCONF -h $MYURI -d $LVL >> $MYLOG 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -400,7 +400,7 @@ while [ $n -le $MPR ]; do
|
||||
if [ -f $TESTDIR/slapd.conf ]; then
|
||||
rm -f $TESTDIR/slapd.conf
|
||||
fi
|
||||
$SLAPD -f $MYCONF -h $MYURI -d $LVL $TIMING >> $MYLOG 2>&1 &
|
||||
$SLAPD -f $MYCONF -h $MYURI -d $LVL >> $MYLOG 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -70,7 +70,7 @@ while [ $n -le $MPR ]; do
|
||||
CFDIR=${XDIR}$n/slapd.d
|
||||
|
||||
echo "Starting provider slapd on TCP/IP URI $MYURI"
|
||||
$SLAPD -F $CFDIR -h $MYURI -d $LVL $TIMING > $MYLOG 2>&1 &
|
||||
$SLAPD -F $CFDIR -h $MYURI -d $LVL > $MYLOG 2>&1 &
|
||||
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
@ -146,7 +146,7 @@ echo "done"
|
||||
|
||||
echo "Starting provider1 slapd on TCP/IP URI $URI1"
|
||||
CFDIR="$TESTDIR/srv1/slapd.d"
|
||||
$SLAPD -F $CFDIR -h $URI1 -d $LVL $TIMING >> $LOG1 2>&1 &
|
||||
$SLAPD -F $CFDIR -h $URI1 -d $LVL >> $LOG1 2>&1 &
|
||||
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
|
@ -67,7 +67,7 @@ while [ $n -le $MMR ]; do
|
||||
CFDIR=${XDIR}$n/slapd.d
|
||||
|
||||
echo "Starting provider slapd on TCP/IP URI $MYURI"
|
||||
$SLAPD -F $CFDIR -h $MYURI -d $LVL -d sync $TIMING > $MYLOG 2>&1 &
|
||||
$SLAPD -F $CFDIR -h $MYURI -d $LVL -d sync > $MYLOG 2>&1 &
|
||||
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
@ -181,7 +181,7 @@ $LDAPSEARCH -D $MANAGERDN -w $PASSWD -b "$BASEDN" -H $URI2 \
|
||||
|
||||
echo "Starting provider1 slapd on TCP/IP URI $URI1"
|
||||
CFDIR="$TESTDIR/srv1/slapd.d"
|
||||
$SLAPD -F $CFDIR -h $URI1 -d $LVL $TIMING >> $LOG1 2>&1 &
|
||||
$SLAPD -F $CFDIR -h $URI1 -d $LVL >> $LOG1 2>&1 &
|
||||
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
|
@ -33,7 +33,7 @@ mkdir -p $TESTDIR
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $PASSWDCONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test ${WAIT-0} != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -19,7 +19,7 @@ echo ""
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
echo "======== Starting slapd with $RELAY backend ========" >> $LOG1
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $RELAYCONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING >> $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL >> $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -30,7 +30,7 @@ mkdir -p $TESTDIR
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $SQLCONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -41,7 +41,7 @@ mkdir -p $TESTDIR $SQLDATADIR
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $SQLCONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -35,7 +35,7 @@ mkdir -p $TESTDIR
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $SQLCONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -35,7 +35,7 @@ mkdir -p $TESTDIR $DBDIR2A
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $SQLSRPROVIDERCONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -63,7 +63,7 @@ fi
|
||||
|
||||
echo "Starting consumer slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $R1SRCONSUMERCONF > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMERPID $CONSUMERPID
|
||||
|
@ -29,7 +29,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND < $CONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
|
||||
echo "Using ldapsearch to retrieve all the entries..."
|
||||
|
@ -29,7 +29,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND < $CONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING >> /dev/null 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL >> /dev/null 2>&1 &
|
||||
PID=$!
|
||||
|
||||
echo "Using ldapsearch to retrieve all the entries..."
|
||||
|
@ -20,7 +20,7 @@ mkdir -p $TESTDIR $DBDIR2
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND < $CONFTWO > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
PID=$!
|
||||
|
||||
echo "Using ldapsearch to retrieve all the entries..."
|
||||
|
@ -20,7 +20,7 @@ mkdir -p $TESTDIR $DBDIR2
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND < $CONFTWO > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > /dev/null 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > /dev/null 2>&1 &
|
||||
PID=$!
|
||||
|
||||
echo "Using ldapsearch to retrieve all the entries..."
|
||||
|
@ -47,7 +47,7 @@ if [ $RC != 0 ]; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT..."
|
||||
$SLAPD -f $NIS_CONF -p $PORT -d $LVL $TIMING > $PROVIDERLOG 2>&1 &
|
||||
$SLAPD -f $NIS_CONF -p $PORT -d $LVL > $PROVIDERLOG 2>&1 &
|
||||
PID=$!
|
||||
|
||||
echo ">>>>> LDAP server with NIS schema is up! PID=$PID"
|
||||
|
@ -20,7 +20,7 @@ mkdir -p $TESTDIR $DBDIR1
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $SCHEMACONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -29,7 +29,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $CONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -93,7 +93,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -20,7 +20,7 @@ mkdir -p $TESTDIR $DBDIR1
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $CONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -37,7 +37,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -28,7 +28,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -28,7 +28,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -33,7 +33,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -37,7 +37,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $CONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -32,7 +32,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -32,7 +32,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting provider slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -n provider -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -n provider -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -41,7 +41,7 @@ fi
|
||||
|
||||
echo "Starting consumer slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $REFCONSUMERCONF > $CONF2
|
||||
$SLAPD -n consumer -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -n consumer -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMERPID $CONSUMERPID
|
||||
|
@ -20,7 +20,7 @@ mkdir -p $TESTDIR $DBDIR1
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $PWCONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -28,7 +28,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -20,7 +20,7 @@ mkdir -p $TESTDIR $DBDIR1A $DBDIR1B $DBDIR1C
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $GLUECONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -20,7 +20,7 @@ mkdir -p $TESTDIR $DBDIR1
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $CONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -29,7 +29,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $WHOAMICONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -37,7 +37,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -31,7 +31,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -35,7 +35,7 @@ mkdir -p $TESTDIR $DBDIR1 $DBDIR2
|
||||
|
||||
echo "Starting provider slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $SRPROVIDERCONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -75,7 +75,7 @@ fi
|
||||
|
||||
echo "Starting consumer slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $R1SRCONSUMERCONF > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMERPID $CONSUMERPID
|
||||
|
@ -37,7 +37,7 @@ mkdir -p $TESTDIR $DBDIR1 $DBDIR4
|
||||
|
||||
echo "Starting provider slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $SRPROVIDERCONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -77,7 +77,7 @@ fi
|
||||
|
||||
echo "Starting consumer slapd on TCP/IP port $PORT4..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $P1SRCONSUMERCONF > $CONF4
|
||||
$SLAPD -f $CONF4 -h $URI4 -d $LVL $TIMING > $LOG4 2>&1 &
|
||||
$SLAPD -f $CONF4 -h $URI4 -d $LVL > $LOG4 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMERPID $CONSUMERPID
|
||||
@ -159,7 +159,7 @@ kill -HUP "$PID"
|
||||
wait $PID
|
||||
sleep 10
|
||||
echo "RESTART" >> $LOG1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING >> $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL >> $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -413,7 +413,7 @@ fi
|
||||
|
||||
echo "Restarting consumer..."
|
||||
echo "RESTART" >> $LOG4
|
||||
$SLAPD -f $CONF4 -h $URI4 -d $LVL $TIMING >> $LOG4 2>&1 &
|
||||
$SLAPD -f $CONF4 -h $URI4 -d $LVL >> $LOG4 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMERPID $CONSUMERPID
|
||||
|
@ -34,7 +34,7 @@ mkdir -p $TESTDIR $DBDIR1 $DBDIR2 $DBDIR3 $DBDIR4 $DBDIR5 $DBDIR6
|
||||
|
||||
echo "Starting provider slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $SRPROVIDERCONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -74,7 +74,7 @@ fi
|
||||
|
||||
echo "Starting R1 consumer slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $R1SRCONSUMERCONF > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMER R1 PID $CONSUMERPID
|
||||
@ -104,7 +104,7 @@ fi
|
||||
|
||||
echo "Starting R2 consumer slapd on TCP/IP port $PORT3..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $R2SRCONSUMERCONF > $CONF3
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL $TIMING > $LOG3 2>&1 &
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL > $LOG3 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMER R2 PID $CONSUMERPID
|
||||
@ -134,7 +134,7 @@ fi
|
||||
|
||||
echo "Starting P1 consumer slapd on TCP/IP port $PORT4..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $P1SRCONSUMERCONF > $CONF4
|
||||
$SLAPD -f $CONF4 -h $URI4 -d $LVL $TIMING > $LOG4 2>&1 &
|
||||
$SLAPD -f $CONF4 -h $URI4 -d $LVL > $LOG4 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMER P1 PID $CONSUMERPID
|
||||
@ -164,7 +164,7 @@ fi
|
||||
|
||||
echo "Starting P2 consumer slapd on TCP/IP port $PORT5..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $P2SRCONSUMERCONF > $CONF5
|
||||
$SLAPD -f $CONF5 -h $URI5 -d $LVL $TIMING > $LOG5 2>&1 &
|
||||
$SLAPD -f $CONF5 -h $URI5 -d $LVL > $LOG5 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMER P2 PID $CONSUMERPID
|
||||
@ -194,7 +194,7 @@ fi
|
||||
|
||||
echo "Starting P3 consumer slapd on TCP/IP port $PORT6..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $P3SRCONSUMERCONF > $CONF6
|
||||
$SLAPD -f $CONF6 -h $URI6 -d $LVL $TIMING > $LOG6 2>&1 &
|
||||
$SLAPD -f $CONF6 -h $URI6 -d $LVL > $LOG6 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMER P3 PID $CONSUMERPID
|
||||
|
@ -29,8 +29,8 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
#valgrind -v --gdb-attach=yes --logfile=info --num-callers=16 --leak-check=yes --leak-resolution=high $SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING </dev/tty > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
#valgrind -v --gdb-attach=yes --logfile=info --num-callers=16 --leak-check=yes --leak-resolution=high $SLAPD -f $CONF1 -h $URI1 -d $LVL </dev/tty > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -28,7 +28,7 @@ echo "rootpw `$SLAPPASSWD -T $CONFIGPWF`" >$TESTDIR/configpw.conf
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $PPOLICYCONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -531,7 +531,7 @@ echo "Setting up policy state forwarding test..."
|
||||
mkdir $DBDIR2
|
||||
sed -e "s,$DBDIR1,$DBDIR2," < $CONF1 > $CONF2
|
||||
echo "Starting slapd consumer on TCP/IP port $PORT2..."
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -33,7 +33,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -41,7 +41,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
mkdir $TESTDIR/confdir
|
||||
$SLAPD -f $CONF1 -F $TESTDIR/confdir -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -F $TESTDIR/confdir -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -44,7 +44,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -20,7 +20,7 @@ mkdir -p $TESTDIR $DBDIR1
|
||||
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $DNCONF > $CONF1
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -36,7 +36,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -98,7 +98,7 @@ echo "Cleaning up database directories..."
|
||||
mkdir -p $TESTDIR $DBDIR1 $DBDIR2
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -66,7 +66,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $IDASSERTCONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -71,7 +71,7 @@ fi
|
||||
|
||||
echo "Starting local slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $LDAPGLUECONF1 > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID1=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID1
|
||||
@ -80,7 +80,7 @@ fi
|
||||
|
||||
echo "Starting remote slapd 1 on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $LDAPGLUECONF2 > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
PID2=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID2
|
||||
@ -89,7 +89,7 @@ fi
|
||||
|
||||
echo "Starting remote slapd 2 on TCP/IP port $PORT3..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $LDAPGLUECONF3 > $CONF3
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL $TIMING > $LOG3 2>&1 &
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL > $LOG3 2>&1 &
|
||||
PID3=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID3
|
||||
|
@ -52,7 +52,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $ADDCONF -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $ADDCONF -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -46,7 +46,7 @@ fi
|
||||
|
||||
echo "Starting first slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $CHAINCONF1 > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID1=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID1
|
||||
@ -56,7 +56,7 @@ KILLPIDS="$PID1"
|
||||
|
||||
echo "Starting second slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $CHAINCONF2 > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
PID2=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID2
|
||||
|
@ -37,7 +37,7 @@ cp -pr $DBDIR1C $DBDIR2C
|
||||
|
||||
echo "Starting slapd 1 on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $GLUESYNCCONF1 > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -61,7 +61,7 @@ done
|
||||
|
||||
echo "Starting slapd 2 on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $GLUESYNCCONF2 > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -52,7 +52,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting remote slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -86,7 +86,7 @@ mkdir -p $DBDIR2
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $TRANSLUCENTLOCALCONF > $CONF2
|
||||
|
||||
echo "Starting local slapd on TCP/IP port $PORT2..."
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -34,7 +34,7 @@ mkdir -p $TESTDIR $DBDIR1 $DBDIR2
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $METACONF1 > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -73,7 +73,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $METACONF2 > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -112,7 +112,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT3..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $METACONF > $CONF3
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL $TIMING > $LOG3 2>&1 &
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL > $LOG3 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -42,7 +42,7 @@ mkdir -p $TESTDIR $DBDIR1 $DBDIR2
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $METACONF1 > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -81,7 +81,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $METACONF2 > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -120,7 +120,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT3..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $METACONF > $CONF3
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL $TIMING > $LOG3 2>&1 &
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL > $LOG3 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -33,7 +33,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -42,7 +42,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -46,7 +46,7 @@ mkdir -p $TESTDIR $DBDIR1 $DBDIR2
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $METACONF1 > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -85,7 +85,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $METACONF2 > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -124,7 +124,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT3..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $GLUELDAPCONF > $CONF3
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL $TIMING > $LOG3 2>&1 &
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL > $LOG3 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -20,7 +20,7 @@ mkdir -p $TESTDIR $DBDIR1
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $CONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -39,7 +39,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -36,7 +36,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -46,7 +46,7 @@ SPEC="mdb=a"
|
||||
|
||||
echo "Starting provider slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $DSRPROVIDERCONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -86,7 +86,7 @@ fi
|
||||
|
||||
echo "Starting consumer slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $DSRCONSUMERCONF > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMERPID $CONSUMERPID
|
||||
@ -131,7 +131,7 @@ echo "Stopping the provider, sleeping 10 seconds and restarting it..."
|
||||
kill -HUP "$PID"
|
||||
sleep 10
|
||||
echo "RESTART" >> $LOG1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING >> $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL >> $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -321,7 +321,7 @@ EOMODS
|
||||
|
||||
echo "Restarting consumer..."
|
||||
echo "RESTART" >> $LOG2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING >> $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL >> $LOG2 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMERPID $CONSUMERPID
|
||||
|
@ -48,7 +48,7 @@ fi
|
||||
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -52,7 +52,7 @@ mkdir -p $TESTDIR $DBDIR1 $DBDIR2
|
||||
|
||||
echo "Starting provider slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $SRPROVIDERCONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PROVIDERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PROVIDERPID $PROVIDERPID
|
||||
@ -92,7 +92,7 @@ fi
|
||||
|
||||
echo "Starting consumer slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $RCONSUMERCONF > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMERPID $CONSUMERPID
|
||||
@ -122,7 +122,7 @@ fi
|
||||
|
||||
echo "Starting proxy slapd on TCP/IP port $PORT3..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $PLSRCONSUMERCONF > $CONF3
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL $TIMING > $LOG3 2>&1 &
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL > $LOG3 2>&1 &
|
||||
PROXYPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PROXYPID $PROXYPID
|
||||
@ -246,7 +246,7 @@ wait $PROVIDERPID
|
||||
sleep $SLEEP2
|
||||
|
||||
echo "======================= RESTART =======================" >> $LOG1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING >> $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL >> $LOG1 2>&1 &
|
||||
PROVIDERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PROVIDERPID $PROVIDERPID
|
||||
@ -460,7 +460,7 @@ EOMODS
|
||||
|
||||
echo "Restarting proxy..."
|
||||
echo "======================= RESTART =======================" >> $LOG3
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL $TIMING >> $LOG3 2>&1 &
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL >> $LOG3 2>&1 &
|
||||
PROXYPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PROXYPID $PROXYPID
|
||||
@ -645,7 +645,7 @@ sleep $SLEEP2
|
||||
|
||||
echo "Restarting consumer..."
|
||||
echo "======================= RESTART =======================" >> $LOG2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING >> $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL >> $LOG2 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMERPID $CONSUMERPID
|
||||
@ -731,7 +731,7 @@ if test $? != 0 ; then
|
||||
|
||||
echo " ${CHECK}.1 > Restarting proxy..."
|
||||
echo "======================= RESTART =======================" >> $LOG3
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL $TIMING >> $LOG3 2>&1 &
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL >> $LOG3 2>&1 &
|
||||
PROXYPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PROXYPID $PROXYPID
|
||||
|
@ -48,7 +48,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -34,7 +34,7 @@ mkdir -p $TESTDIR $DBDIR1 $DBDIR2
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $METACONF1 > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -73,7 +73,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $METACONF2 > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -112,7 +112,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT3..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $GLUELDAPCONF > $CONF3
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL $TIMING > $LOG3 2>&1 &
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL > $LOG3 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -45,7 +45,7 @@ mkdir -p $TESTDIR $DBDIR1 $DBDIR2 $DBDIR3
|
||||
|
||||
echo "Starting provider slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $PLSRPROVIDERCONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PROVIDERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PROVIDERPID $PROVIDERPID
|
||||
@ -85,7 +85,7 @@ fi
|
||||
|
||||
echo "Starting P1 consumer slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $RCONSUMERCONF > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
P1CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo P1CONSUMERPID $P1CONSUMERPID
|
||||
@ -115,7 +115,7 @@ fi
|
||||
|
||||
echo "Starting R1 consumer slapd on TCP/IP port $PORT3..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $RCONSUMERCONF | sed -e 's;\.2\.\([^/]*\)$;.3.\1;' > $CONF3
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL $TIMING > $LOG3 2>&1 &
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL > $LOG3 2>&1 &
|
||||
R1CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo R1CONSUMERPID $R1CONSUMERPID
|
||||
@ -223,7 +223,7 @@ wait $PROVIDERPID
|
||||
sleep $SLEEP2
|
||||
|
||||
echo "======================= RESTART =======================" >> $LOG1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING >> $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL >> $LOG1 2>&1 &
|
||||
PROVIDERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PROVIDERPID $PROVIDERPID
|
||||
@ -432,7 +432,7 @@ EOMODS
|
||||
|
||||
echo "Restarting P1 consumer..."
|
||||
echo "======================= RESTART =======================" >> $LOG3
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING >> $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL >> $LOG2 2>&1 &
|
||||
P1CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo P1CONSUMERPID $P1CONSUMERPID
|
||||
@ -441,7 +441,7 @@ fi
|
||||
|
||||
echo "Restarting R1 consumer..."
|
||||
echo "======================= RESTART =======================" >> $LOG3
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL $TIMING >> $LOG3 2>&1 &
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL >> $LOG3 2>&1 &
|
||||
R1CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo R1CONSUMERPID $R1CONSUMERPID
|
||||
|
@ -62,7 +62,7 @@ echo "Starting provider slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $DYNAMICCONF > $CONFLDIF
|
||||
$SLAPADD -F $CFPRO -n 0 -l $CONFLDIF
|
||||
cd $PRODIR
|
||||
$SLAPD -F ./slapd.d -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -F ./slapd.d -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -135,7 +135,7 @@ fi
|
||||
echo "Starting consumer slapd on TCP/IP port $PORT2..."
|
||||
$SLAPADD -F $CFCON -n 0 -l $CONFLDIF
|
||||
cd $CONDIR
|
||||
$SLAPD -F ./slapd.d -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -F ./slapd.d -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMERPID $CONSUMERPID
|
||||
|
@ -85,7 +85,7 @@ done
|
||||
|
||||
echo "Starting server 1 on TCP/IP port $PORT1..."
|
||||
cd ${XDIR}1
|
||||
$SLAPD -F slapd.d -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -186,7 +186,7 @@ URI="ldap://${LOCALHOST}:$PORT/"
|
||||
LOG=$TESTDIR/slapd.$n.log
|
||||
echo "Starting server $n on TCP/IP port $PORT..."
|
||||
cd ${XDIR}$n
|
||||
$SLAPD -F ./slapd.d -h $URI -d $LVL $TIMING > $LOG 2>&1 &
|
||||
$SLAPD -F ./slapd.d -h $URI -d $LVL > $LOG 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMERPID $CONSUMERPID
|
||||
@ -642,7 +642,7 @@ KILLPIDS=""
|
||||
echo "Starting server 1 on TCP/IP port $PORT1..."
|
||||
echo "======================= RESTART =======================" >> $LOG1
|
||||
cd ${XDIR}1
|
||||
$SLAPD -F slapd.d -h $URI1 -d $LVL $TIMING >> $LOG1 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI1 -d $LVL >> $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -679,7 +679,7 @@ LOG=$TESTDIR/slapd.$n.log
|
||||
echo "Starting server $n on TCP/IP port $PORT..."
|
||||
cd ${XDIR}$n
|
||||
echo "======================= RESTART =======================" >> $LOG
|
||||
$SLAPD -F ./slapd.d -h $URI -d $LVL $TIMING >> $LOG 2>&1 &
|
||||
$SLAPD -F ./slapd.d -h $URI -d $LVL >> $LOG 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -37,7 +37,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
mkdir $TESTDIR/confdir
|
||||
$SLAPD -f $CONF1 -F $TESTDIR/confdir -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -F $TESTDIR/confdir -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -28,7 +28,7 @@ echo "rootpw `$SLAPPASSWD -T $CONFIGPWF`" >$TESTDIR/configpw.conf
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $NAKEDCONF > $CONF1
|
||||
$SLAPD -f $CONF1 -F $TESTDIR/confdir -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -F $TESTDIR/confdir -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -101,7 +101,7 @@ EOF
|
||||
|
||||
echo "Starting provider slapd on TCP/IP port $PORT1..."
|
||||
cd $PRODDIR
|
||||
$SLAPD -F slapd.d -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -129,7 +129,7 @@ fi
|
||||
|
||||
echo "Starting provider2 slapd on TCP/IP port $PORT2..."
|
||||
cd $PRO2DIR
|
||||
$SLAPD -F slapd.d -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -157,7 +157,7 @@ fi
|
||||
|
||||
echo "Starting consumer slapd on TCP/IP port $PORT3..."
|
||||
cd $CONSDIR
|
||||
$SLAPD -F slapd.d -h $URI3 -d $LVL $TIMING > $LOG3 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI3 -d $LVL > $LOG3 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -35,7 +35,7 @@ mkdir -p $TESTDIR $DBDIR1 $DBDIR4
|
||||
|
||||
echo "Starting provider slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $SRPROVIDERCONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -75,7 +75,7 @@ fi
|
||||
|
||||
echo "Starting consumer slapd on TCP/IP port $PORT4..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $P1SRCONSUMERCONF > $CONF4
|
||||
$SLAPD -f $CONF4 -h $URI4 -d $LVL $TIMING > $LOG4 2>&1 &
|
||||
$SLAPD -f $CONF4 -h $URI4 -d $LVL > $LOG4 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMERPID $CONSUMERPID
|
||||
@ -128,7 +128,7 @@ kill -HUP "$PID"
|
||||
wait $PID
|
||||
sleep 10
|
||||
echo "RESTART" >> $LOG1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING >> $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL >> $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -285,7 +285,7 @@ EOMODS
|
||||
|
||||
echo "Restarting consumer..."
|
||||
echo "RESTART" >> $LOG4
|
||||
$SLAPD -f $CONF4 -h $URI4 -d $LVL $TIMING >> $LOG4 2>&1 &
|
||||
$SLAPD -f $CONF4 -h $URI4 -d $LVL >> $LOG4 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMERPID $CONSUMERPID
|
||||
|
@ -29,7 +29,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -25,7 +25,7 @@ mkdir -p $TESTDIR $DBDIR1
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $SCHEMACONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -34,7 +34,7 @@ echo "rootpw `$SLAPPASSWD -T $CONFIGPWF`" >$TESTDIR/configpw.conf
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $NAKEDCONF > $CONF1
|
||||
$SLAPD -f $CONF1 -F $TESTDIR/confdir -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -F $TESTDIR/confdir -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -195,7 +195,7 @@ done
|
||||
|
||||
echo "Starting central provider slapd on TCP/IP port $PORT1..."
|
||||
cd $SMC_DIR
|
||||
$SLAPD -F slapd.d -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
SMC_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $SMC_PID
|
||||
@ -221,7 +221,7 @@ fi
|
||||
|
||||
echo "Starting site1 provider slapd on TCP/IP port $PORT2..."
|
||||
cd $SM1_DIR
|
||||
$SLAPD -F slapd.d -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
SM1_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $SM1_PID
|
||||
@ -247,7 +247,7 @@ fi
|
||||
|
||||
echo "Starting site2 provider slapd on TCP/IP port $PORT3..."
|
||||
cd $SM2_DIR
|
||||
$SLAPD -F slapd.d -h $URI3 -d $LVL $TIMING > $LOG3 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI3 -d $LVL > $LOG3 2>&1 &
|
||||
SM2_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $SM2_PID
|
||||
@ -273,7 +273,7 @@ fi
|
||||
|
||||
echo "Starting central search slapd on TCP/IP port $PORT4..."
|
||||
cd $SSC_DIR
|
||||
$SLAPD -F slapd.d -h $URI4 -d $LVL $TIMING > $LOG4 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI4 -d $LVL > $LOG4 2>&1 &
|
||||
SSC_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $SSC_PID
|
||||
@ -300,7 +300,7 @@ fi
|
||||
|
||||
echo "Starting site1 search slapd on TCP/IP port $PORT5..."
|
||||
cd $SS1_DIR
|
||||
$SLAPD -F slapd.d -h $URI5 -d $LVL $TIMING > $LOG5 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI5 -d $LVL > $LOG5 2>&1 &
|
||||
SS1_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $SS1_PID
|
||||
@ -327,7 +327,7 @@ fi
|
||||
|
||||
echo "Starting site2 search slapd on TCP/IP port $PORT6..."
|
||||
cd $SS2_DIR
|
||||
$SLAPD -F slapd.d -h $URI6 -d $LVL $TIMING > $LOG6 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI6 -d $LVL > $LOG6 2>&1 &
|
||||
SS2_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $SS2_PID
|
||||
@ -1007,7 +1007,7 @@ fi
|
||||
if test -z "$SM1_PID" ; then
|
||||
echo "Restarting site1 provider slapd on TCP/IP port $PORT2..."
|
||||
cd $SM1_DIR
|
||||
$SLAPD -F slapd.d -h $URI2 -d $LVL $TIMING >> $LOG2 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI2 -d $LVL >> $LOG2 2>&1 &
|
||||
SM1_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $SM1_PID
|
||||
@ -1286,7 +1286,7 @@ if test $CSN_ERRORS != 0 ; then
|
||||
|
||||
echo "Restarting site1 provider slapd on TCP/IP port $PORT2..."
|
||||
cd $SM1_DIR
|
||||
$SLAPD -F slapd.d -h $URI2 -d $LVL $TIMING >> $LOG2 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI2 -d $LVL >> $LOG2 2>&1 &
|
||||
SM1_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $SM1_PID
|
||||
@ -1312,7 +1312,7 @@ if test $CSN_ERRORS != 0 ; then
|
||||
|
||||
echo "Restarting site2 provider slapd on TCP/IP port $PORT3..."
|
||||
cd $SM2_DIR
|
||||
$SLAPD -F slapd.d -h $URI3 -d $LVL $TIMING >> $LOG3 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI3 -d $LVL >> $LOG3 2>&1 &
|
||||
SM2_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $SM2_PID
|
||||
@ -1338,7 +1338,7 @@ if test $CSN_ERRORS != 0 ; then
|
||||
|
||||
echo "Restarting central provider slapd on TCP/IP port $PORT1..."
|
||||
cd $SMC_DIR
|
||||
$SLAPD -F slapd.d -h $URI1 -d $LVL $TIMING >> $LOG1 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI1 -d $LVL >> $LOG1 2>&1 &
|
||||
SMC_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $SMC_PID
|
||||
@ -1372,7 +1372,7 @@ if test $CSN_ERRORS != 0 ; then
|
||||
|
||||
echo "Restarting site1 provider slapd on TCP/IP port $PORT2..."
|
||||
cd $SM1_DIR
|
||||
$SLAPD -F slapd.d -h $URI2 -d $LVL $TIMING >> $LOG2 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI2 -d $LVL >> $LOG2 2>&1 &
|
||||
SM1_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $SM1_PID
|
||||
@ -1398,7 +1398,7 @@ if test $CSN_ERRORS != 0 ; then
|
||||
|
||||
echo "Restarting site2 provider slapd on TCP/IP port $PORT3..."
|
||||
cd $SM2_DIR
|
||||
$SLAPD -F slapd.d -h $URI3 -d $LVL $TIMING >> $LOG3 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI3 -d $LVL >> $LOG3 2>&1 &
|
||||
SM2_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $SM2_PID
|
||||
@ -1427,7 +1427,7 @@ if test $CSN_ERRORS != 0 ; then
|
||||
|
||||
echo "Restarting central search slapd on TCP/IP port $PORT4..."
|
||||
cd $SSC_DIR
|
||||
$SLAPD -F slapd.d -h $URI4 -d $LVL $TIMING >> $LOG4 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI4 -d $LVL >> $LOG4 2>&1 &
|
||||
SSC_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $SSC_PID
|
||||
@ -1453,7 +1453,7 @@ if test $CSN_ERRORS != 0 ; then
|
||||
|
||||
echo "Restarting site1 search slapd on TCP/IP port $PORT5..."
|
||||
cd $SS1_DIR
|
||||
$SLAPD -F slapd.d -h $URI5 -d $LVL $TIMING >> $LOG5 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI5 -d $LVL >> $LOG5 2>&1 &
|
||||
SS1_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $SS1_PID
|
||||
@ -1479,7 +1479,7 @@ if test $CSN_ERRORS != 0 ; then
|
||||
|
||||
echo "Restarting site2 search slapd on TCP/IP port $PORT6..."
|
||||
cd $SS2_DIR
|
||||
$SLAPD -F slapd.d -h $URI6 -d $LVL $TIMING >> $LOG6 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI6 -d $LVL >> $LOG6 2>&1 &
|
||||
SS2_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $SS2_PID
|
||||
@ -2041,7 +2041,7 @@ rm -rf $SS2_DIR/db/*
|
||||
|
||||
echo "Starting site2 provider slapd on TCP/IP port $PORT3..."
|
||||
cd $SM2_DIR
|
||||
$SLAPD -F slapd.d -h $URI3 -d $LVL $TIMING >> $LOG3 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI3 -d $LVL >> $LOG3 2>&1 &
|
||||
SM2_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $SM2_PID
|
||||
@ -2067,7 +2067,7 @@ fi
|
||||
|
||||
echo "Starting site2 search slapd on TCP/IP port $PORT6..."
|
||||
cd $SS2_DIR
|
||||
$SLAPD -F slapd.d -h $URI6 -d $LVL $TIMING >> $LOG6 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI6 -d $LVL >> $LOG6 2>&1 &
|
||||
SS2_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $SS2_PID
|
||||
@ -2093,7 +2093,7 @@ fi
|
||||
|
||||
echo "Starting central provider slapd on TCP/IP port $PORT1..."
|
||||
cd $SMC_DIR
|
||||
$SLAPD -F slapd.d -h $URI1 -d $LVL $TIMING >> $LOG1 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI1 -d $LVL >> $LOG1 2>&1 &
|
||||
SMC_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $SMC_PID
|
||||
@ -2211,7 +2211,7 @@ if test $RC != 0 ; then
|
||||
KILLPIDS=`echo "$KILLPIDS " | sed -e "s/ $SMC_PID / /"`;
|
||||
|
||||
cd $SMC_DIR
|
||||
$SLAPD -F slapd.d -h $URI1 -c rid=4,csn=0 -d $LVL $TIMING >> $LOG1 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI1 -c rid=4,csn=0 -d $LVL >> $LOG1 2>&1 &
|
||||
SMC_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $SMC_PID
|
||||
@ -2277,7 +2277,7 @@ if test $RC != 0 ; then
|
||||
KILLPIDS=`echo "$KILLPIDS " | sed -e "s/ $SSC_PID / /"`;
|
||||
|
||||
cd $SSC_DIR
|
||||
$SLAPD -F slapd.d -h $URI4 -c rid=1,csn=0 -d $LVL $TIMING >> $LOG4 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI4 -c rid=1,csn=0 -d $LVL >> $LOG4 2>&1 &
|
||||
SSC_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $SSC_PID
|
||||
@ -2364,7 +2364,7 @@ EOF
|
||||
|
||||
echo "Starting central provider again..."
|
||||
cd $SMC_DIR
|
||||
$SLAPD -F slapd.d -h $URI1 -d $LVL $TIMING >> $LOG1 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI1 -d $LVL >> $LOG1 2>&1 &
|
||||
SMC_PID=$!
|
||||
KILLPIDS="$KILLPIDS $SMC_PID"
|
||||
cd $TESTWD
|
||||
@ -2410,7 +2410,7 @@ EOF
|
||||
|
||||
echo "Starting central provider again..."
|
||||
cd $SMC_DIR
|
||||
$SLAPD -F slapd.d -h $URI1 -d $LVL $TIMING >> $LOG1 2>&1 &
|
||||
$SLAPD -F slapd.d -h $URI1 -d $LVL >> $LOG1 2>&1 &
|
||||
SMC_PID=$!
|
||||
KILLPIDS="$KILLPIDS $SMC_PID"
|
||||
cd $TESTWD
|
||||
|
@ -57,7 +57,7 @@ esac
|
||||
echo "Starting provider slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $DYNAMICCONF > $CONFLDIF
|
||||
$SLAPADD -F $CFPRO -n 0 -l $CONFLDIF
|
||||
$SLAPD -F $CFPRO -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -F $CFPRO -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -187,7 +187,7 @@ fi
|
||||
|
||||
echo "Starting consumer slapd on TCP/IP port $PORT2..."
|
||||
$SLAPADD -F $CFCON -n 0 -l $CONFLDIF
|
||||
$SLAPD -F $CFCON -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -F $CFCON -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMERPID $CONSUMERPID
|
||||
|
@ -56,8 +56,8 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
echo $SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
echo $SLAPD -f $CONF1 -h $URI1 -d $LVL
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -86,7 +86,7 @@ done
|
||||
|
||||
echo "Starting provider slapd on $PROV_URI"
|
||||
cd $PROV_DIR
|
||||
$SLAPD -F slapd.d -h $PROV_URI -d $LVL $TIMING >> $PROV_LOG 2>&1 &
|
||||
$SLAPD -F slapd.d -h $PROV_URI -d $LVL >> $PROV_LOG 2>&1 &
|
||||
PROV_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PROV_PID
|
||||
@ -111,7 +111,7 @@ fi
|
||||
|
||||
echo "Starting forward1 slapd on $FWD1_URI"
|
||||
cd $FWD1_DIR
|
||||
$SLAPD -F slapd.d -h $FWD1_URI -d $LVL $TIMING >> $FWD1_LOG 2>&1 &
|
||||
$SLAPD -F slapd.d -h $FWD1_URI -d $LVL >> $FWD1_LOG 2>&1 &
|
||||
FWD1_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $FWD1_PID
|
||||
@ -136,7 +136,7 @@ fi
|
||||
|
||||
echo "Starting consumer slapd on $CONS_URI"
|
||||
cd $CONS_DIR
|
||||
$SLAPD -F slapd.d -h $CONS_URI -d $LVL $TIMING >> $CONS_LOG 2>&1 &
|
||||
$SLAPD -F slapd.d -h $CONS_URI -d $LVL >> $CONS_LOG 2>&1 &
|
||||
CONS_PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $CONS_PID
|
||||
@ -374,7 +374,7 @@ EOF
|
||||
|
||||
echo "Starting forwarders again"
|
||||
cd $FWD1_DIR
|
||||
$SLAPD -F slapd.d -h $FWD1_URI -d $LVL $TIMING >> $FWD1_LOG 2>&1 &
|
||||
$SLAPD -F slapd.d -h $FWD1_URI -d $LVL >> $FWD1_LOG 2>&1 &
|
||||
FWD1_PID=$!
|
||||
KILLPIDS="$KILLPIDS $FWD1_PID"
|
||||
cd $TESTWD
|
||||
@ -470,7 +470,7 @@ EOF
|
||||
|
||||
echo "Starting forwarders again"
|
||||
cd $FWD1_DIR
|
||||
$SLAPD -F slapd.d -h $FWD1_URI -d $LVL $TIMING >> $FWD1_LOG 2>&1 &
|
||||
$SLAPD -F slapd.d -h $FWD1_URI -d $LVL >> $FWD1_LOG 2>&1 &
|
||||
FWD1_PID=$!
|
||||
KILLPIDS="$KILLPIDS $FWD1_PID"
|
||||
cd $TESTWD
|
||||
@ -576,7 +576,7 @@ EOF
|
||||
|
||||
echo "Starting forwarders again"
|
||||
cd $FWD1_DIR
|
||||
$SLAPD -F slapd.d -h $FWD1_URI -d $LVL $TIMING >> $FWD1_LOG 2>&1 &
|
||||
$SLAPD -F slapd.d -h $FWD1_URI -d $LVL >> $FWD1_LOG 2>&1 &
|
||||
FWD1_PID=$!
|
||||
KILLPIDS="$KILLPIDS $FWD1_PID"
|
||||
cd $TESTWD
|
||||
|
@ -40,7 +40,7 @@ echo "Starting slapd on TCP/IP port $PORT1... $PWD"
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $DYNAMICCONF > $CONFLDIF
|
||||
$SLAPADD -F $CONFDIR -n 0 -l $CONFLDIF
|
||||
cd $TESTDIR
|
||||
$SLAPD -F ./slapd.d -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -F ./slapd.d -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -191,7 +191,7 @@ PORT=`eval echo '$PORT'$n`
|
||||
echo "Starting server $n on TCP/IP port $PORT..."
|
||||
cd ${XDIR}${n}
|
||||
LOG=`eval echo '$LOG'$n`
|
||||
$SLAPD -F slapd.d -h $MYURI -d $LVL $TIMING > $LOG 2>&1 &
|
||||
$SLAPD -F slapd.d -h $MYURI -d $LVL > $LOG 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -122,7 +122,7 @@ EOF
|
||||
$SLAPADD -F $CONFDIR -n 0 -l $TESTDIR/config.ldif
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
$SLAPD -F $CONFDIR -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -F $CONFDIR -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -40,7 +40,7 @@ $SLAPPASSWD -g -n >$CONFIGPWF
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $DYNAMICCONF > $CONFLDIF
|
||||
$SLAPADD -F $CFDIR -n 0 -l $CONFLDIF
|
||||
$SLAPD -F $CFDIR -h $URIP1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -F $CFDIR -h $URIP1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -59,7 +59,7 @@ fi
|
||||
|
||||
echo "Starting ldap:/// slapd on TCP/IP port $PORT1 and ldaps:/// slapd on $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $TLSCONF > $CONF1
|
||||
$SLAPD -f $CONF1 -h "$URI1 $SURI2" -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h "$URI1 $SURI2" -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -36,7 +36,7 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Starting ldap:/// slapd on TCP/IP port $PORT1 and ldaps:/// slapd on $PORT2..."
|
||||
$SLAPD -f $CONF1 -h "$URI1 $SURI2" -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h "$URI1 $SURI2" -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -200,7 +200,7 @@ PORT=`eval echo '$PORT'$n`
|
||||
echo "Starting server $n on TCP/IP port $PORT..."
|
||||
cd ${XDIR}${n}
|
||||
LOG=`eval echo '$LOG'$n`
|
||||
$SLAPD -F slapd.d -h $MYURI -d $LVL $TIMING > $LOG 2>&1 &
|
||||
$SLAPD -F slapd.d -h $MYURI -d $LVL > $LOG 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -199,7 +199,7 @@ PORT=`eval echo '$PORT'$n`
|
||||
echo "Starting server $n on TCP/IP port $PORT..."
|
||||
cd ${XDIR}${n}
|
||||
LOG=`eval echo '$LOG'$n`
|
||||
$SLAPD -F slapd.d -h $MYURI -d $LVL $TIMING > $LOG 2>&1 &
|
||||
$SLAPD -F slapd.d -h $MYURI -d $LVL > $LOG 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -88,7 +88,7 @@ objectclass: dcObject
|
||||
o: OpenLDAP Testing
|
||||
|
||||
EOMODS
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMERPID $CONSUMERPID
|
||||
|
@ -70,7 +70,7 @@ fi
|
||||
|
||||
echo "Starting consumer slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $DSEESYNC1CONF > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMERPID $CONSUMERPID
|
||||
|
@ -34,7 +34,7 @@ mkdir -p $TESTDIR $DBDIR1 $DBDIR2
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $METACONF1 > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -73,7 +73,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $METACONF2 > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -112,7 +112,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT3..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $ASYNCMETACONF > $CONF3
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL $TIMING > $LOG3 2>&1 &
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL > $LOG3 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -42,7 +42,7 @@ mkdir -p $TESTDIR $DBDIR1 $DBDIR2
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $METACONF1 > $CONF1
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -f $CONF1 -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -81,7 +81,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT2..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $METACONF2 > $CONF2
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||
$SLAPD -f $CONF2 -h $URI2 -d $LVL > $LOG2 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
@ -120,7 +120,7 @@ fi
|
||||
|
||||
echo "Starting slapd on TCP/IP port $PORT3..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $ASYNCMETACONF > $CONF3
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL $TIMING > $LOG3 2>&1 &
|
||||
$SLAPD -f $CONF3 -h $URI3 -d $LVL > $LOG3 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
@ -73,7 +73,7 @@ fi
|
||||
|
||||
echo "Starting consumer slapd on TCP/IP port $PORT4..."
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $DSEESYNC2CONF > $CONF4
|
||||
$SLAPD -f $CONF4 -h $URI4 -d $LVL $TIMING > $LOG4 2>&1 &
|
||||
$SLAPD -f $CONF4 -h $URI4 -d $LVL > $LOG4 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMERPID $CONSUMERPID
|
||||
@ -363,7 +363,7 @@ fi
|
||||
|
||||
echo "Restarting consumer..."
|
||||
echo "RESTART" >> $LOG4
|
||||
$SLAPD -f $CONF4 -h $URI4 -d $LVL $TIMING >> $LOG4 2>&1 &
|
||||
$SLAPD -f $CONF4 -h $URI4 -d $LVL >> $LOG4 2>&1 &
|
||||
CONSUMERPID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo CONSUMERPID $CONSUMERPID
|
||||
|
@ -32,7 +32,7 @@ echo "Starting slapd on TCP/IP port $PORT1... $PWD"
|
||||
. $CONFFILTER $BACKEND $MONITORDB < $DYNAMICCONF > $CONFLDIF
|
||||
$SLAPADD -F $CONFDIR -n 0 -l $CONFLDIF
|
||||
cd $TESTDIR
|
||||
$SLAPD -F ./slapd.d -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||
$SLAPD -F ./slapd.d -h $URI1 -d $LVL > $LOG1 2>&1 &
|
||||
PID=$!
|
||||
if test $WAIT != 0 ; then
|
||||
echo PID $PID
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user