mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-21 06:14:40 -05:00
Add some undefined assertion tests
This commit is contained in:
parent
faa9956446
commit
8575e0a050
2 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue