]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test039-glue-ldap-concurrency
use as tester an identity that needs to be proxedauthz'ed (more representative and...
[openldap] / tests / scripts / test039-glue-ldap-concurrency
index b441d2b1fc2e1f074143967fe08d96404d8293cd..2437cc57c5077a0bfa10250ecdf44b219123a922 100755 (executable)
@@ -36,6 +36,10 @@ if test x$TESTOLOOPS = x ; then
        TESTOLOOPS=1
 fi
 
+if test x$TESTCHILDREN = x ; then
+       TESTCHILDREN=20
+fi
+
 rm -rf $TESTDIR
 
 mkdir -p $TESTDIR $DBDIR1 $DBDIR2
@@ -182,10 +186,12 @@ done
 $MONITORDATA "$MONITORDB" "$TESTDIR/$DATADIR" "$TESTDIR"
 
 echo "Using tester for concurrent server access..."
+BINDDN="cn=Manager,o=Local"
+PASSWD="secret"
 $SLAPDTESTER -P "$PROGDIR" -d "$TESTDIR" -h $LOCALHOST -p $PORT3 \
-       -D "cn=Manager,$METABASEDN" -w $PASSWD \
-       -l $TESTLOOPS -L $TESTOLOOPS -r 20 \
-       -i '!REFERRAL' -i '*INVALID_CREDENTIALS'
+       -D "$BINDDN" -w $PASSWD \
+       -l $TESTLOOPS -L $TESTOLOOPS -j $TESTCHILDREN -r 20 \
+       -i '!REFERRAL' -i '*INVALID_CREDENTIALS' -SS
 RC=$?
 
 if test $RC != 0 ; then