From 8575e0a0503585398c25d8216093be2281359ba1 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 1 Mar 2002 18:58:11 +0000 Subject: [PATCH] Add some undefined assertion tests --- tests/data/slapd-acl.conf | 3 +++ tests/scripts/test003-search | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/data/slapd-acl.conf b/tests/data/slapd-acl.conf index f361b2382f..3d7987794d 100644 --- a/tests/data/slapd-acl.conf +++ b/tests/data/slapd-acl.conf @@ -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 diff --git a/tests/scripts/test003-search b/tests/scripts/test003-search index fb00dc4797..17f6fb5834 100755 --- a/tests/scripts/test003-search +++ b/tests/scripts/test003-search @@ -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 -- 2.39.5