]> git.sur5r.net Git - openldap/commitdiff
Add some undefined assertion tests
authorKurt Zeilenga <kurt@openldap.org>
Fri, 1 Mar 2002 18:58:11 +0000 (18:58 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 1 Mar 2002 18:58:11 +0000 (18:58 +0000)
tests/data/slapd-acl.conf
tests/scripts/test003-search

index f361b2382f569cc120e5127a2ebe37d823640b67..3d7987794d554878ffdb5b56b515dbd75a40e865 100644 (file)
@@ -56,4 +56,7 @@ access                to filter="(objectclass=groupofnames)"
                by dn="^cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=University of Michigan,c=US$" +rw stop
                by * break
 
+access to filter="(name=X*Y*Z)"
+               by * continue
+
 # fall into global ACLs
index fb00dc47975de881fb0f28156aba7daa918a3b48..17f6fb5834df4d2cbf9d7d70b38540a4f70622b8 100755 (executable)
@@ -77,7 +77,7 @@ fi
 
 echo "Testing OR searching..."
 $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT \
-       '(|(undefined=fubar)(objectclass=groupofnames)(sn=jones))' >> $SEARCHOUT 2>&1
+       '(|(cn=)(undef=*)(objectclass=groupofnames)(sn=jones))' >> $SEARCHOUT 2>&1
 if test $RC != 0 ; then
        echo "ldapsearch failed ($RC)!"
        kill -HUP $PID