]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test009-referral
Changes from HEAD for beta
[openldap] / tests / scripts / test009-referral
index 0e481649ccfe7ede4cd10489a142ebcbdf7831df..5a77a1ea2df7590aa4ebb0baea7ed7757d3448de 100755 (executable)
@@ -6,7 +6,7 @@ if test $# -ge 1 ; then
        SRCDIR=$1; shift
 fi
 
-. $SRCDIR/scripts/args.sh
+. $SRCDIR/scripts/args.sh $*
 
 echo "running defines.sh"
 . $SRCDIR/scripts/defines.sh
@@ -91,7 +91,7 @@ fi
 
 echo "Testing OR searching..."
 $LDAPSEARCH -C -S "" -b "$BASEDN" -h $LOCALHOST -p $SLAVEPORT \
-       '(|(objectclass=groupofnames)(sn=jones))' >> $SEARCHOUT 2>&1
+       '(|(objectclass=groupofnames)(objectClass=groupofuniquenames)(sn=jones))' >> $SEARCHOUT 2>&1
 RC=$?
 if test $RC != 0 ; then
        echo "ldapsearch failed ($RC)!"