Commit bb1fe3d3 authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#8046 add vrFilter test

parent 5e15213d
......@@ -635,6 +635,9 @@ dn: dc=example,dc=com
dc: example
o: Example, Inc.
dn: dc=example,dc=com
dc: example
dn: cn=Subschema
attributeTypes: ( 0.9.2342.19200300.100.1.25 NAME ( 'dc' 'domainComponent' ) D
ESC 'RFC1274/2247: domain component' EQUALITY caseIgnoreIA5Match SUBSTR caseI
......
......@@ -211,6 +211,19 @@ if test $RC != 0 ; then
exit $RC
fi
FILTER="(dc=example)"
VRFILTER="((o={*)(dc=*))"
echo " f=$FILTER mv=$VRFILTER ..."
echo "# f=$FILTER mv=$VRFILTER ..." >> $SEARCHOUT
$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \
-E '!mv='"$VRFILTER" "$FILTER" >> $SEARCHOUT 2>&1
RC=$?
if test $RC != 0 ; then
echo "ldapsearch failed ($RC)!"
test $KILLSERVERS != no && kill -HUP $KILLPIDS
exit $RC
fi
FILTER="(attributeTypes=0.9.2342.19200300.100.1.25)"
echo " f=$FILTER ..."
echo "# f=$FILTER ..." >> $SEARCHOUT
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment