mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-14 19:04:21 -05:00
check regression of ITS#4380
This commit is contained in:
parent
0e2b26986e
commit
72d27f225d
1 changed files with 7 additions and 0 deletions
|
|
@ -156,6 +156,13 @@ echo "# f=$FILTER ..." >> $SEARCHOUT
|
|||
$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \
|
||||
"$FILTER" >> $SEARCHOUT 2>&1
|
||||
|
||||
# ITS#4380: don't crash when a matchingRule without pretty/validate is used
|
||||
FILTER="(:dn:caseIgnoreSubstringsMatch:=Information Technology Division)"
|
||||
echo " f=$FILTER ..."
|
||||
echo "# f=$FILTER ..." >> $SEARCHOUT
|
||||
$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \
|
||||
"$FILTER" >> $SEARCHOUT 2>&1
|
||||
|
||||
RC=$?
|
||||
if test $RC != 0 ; then
|
||||
echo "ldapsearch failed ($RC)!"
|
||||
|
|
|
|||
Loading…
Reference in a new issue