From: Kurt Zeilenga Date: Mon, 23 Sep 2002 22:27:19 +0000 (+0000) Subject: Change one search to use oneLevel scope X-Git-Tag: NO_SLAP_OP_BLOCKS~943 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5aa29206cd9408c747478c92a189e734c0e1f48d;p=openldap Change one search to use oneLevel scope --- diff --git a/tests/scripts/test003-search b/tests/scripts/test003-search index cf823b1dc0..7fbba0588a 100755 --- a/tests/scripts/test003-search +++ b/tests/scripts/test003-search @@ -92,7 +92,7 @@ if test $RC != 0 ; then fi echo "Testing AND matching and ends-with searching..." -$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT \ +$LDAPSEARCH -S "" -b "ou=groups,$BASEDN" -s one -h $LOCALHOST -p $PORT \ '(&(objectclass=groupofnames)(cn=A*)(member=cn=Mark Elliot,ou=Alumni Association,ou=People,o=University of Michigan,c=US))' >> $SEARCHOUT 2>&1 RC=$? if test $RC != 0 ; then diff --git a/tests/scripts/test009-referral b/tests/scripts/test009-referral index 504e79f02b..fa03a8126d 100755 --- a/tests/scripts/test009-referral +++ b/tests/scripts/test009-referral @@ -110,7 +110,7 @@ if test $RC != 0 ; then fi echo "Testing AND matching and ends-with searching..." -$LDAPSEARCH -C -S "" -b "$BASEDN" -h $LOCALHOST -p $SLAVEPORT \ +$LDAPSEARCH -C -S "" -b "ou=groups,$BASEDN" -s one -h $LOCALHOST -p $SLAVEPORT \ '(&(objectclass=groupofnames)(cn=A*))' >> $SEARCHOUT 2>&1 RC=$? if test $RC != 0 ; then diff --git a/tests/scripts/test015-xsearch b/tests/scripts/test015-xsearch index e95a01f2ec..621ce8f12f 100755 --- a/tests/scripts/test015-xsearch +++ b/tests/scripts/test015-xsearch @@ -92,7 +92,7 @@ if test $RC != 0 ; then fi echo "Testing AND matching and ends-with searching..." -$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT \ +$LDAPSEARCH -S "" -b "ou=groups,$BASEDN" -s one -h $LOCALHOST -p $PORT \ '(&(objectclass=groupofnames)(cn=A*))' >> $SEARCHOUT 2>&1 RC=$? if test $RC != 0 ; then