Diff for /tests/scripts/test031-component-filter between versions 1.6 and 1.7

version 1.6, 2004/11/29 19:21:43 version 1.7, 2004/12/01 21:11:55
Line 82  cat /dev/null > $SEARCHOUT Line 82  cat /dev/null > $SEARCHOUT
 echo "Testing Component Filter Match RFC3687 Certificate searching:"  echo "Testing Component Filter Match RFC3687 Certificate searching:"
 echo "# Testing Component Filter Match RFC3687 Certificate searching:" >> $SEARCHOUT  echo "# Testing Component Filter Match RFC3687 Certificate searching:" >> $SEARCHOUT
   
 FILTER="(usertCertificate:componentFilterMatch:=item:{ component \"tbsCertificate.serialNumber\", rule allComponentsMatch, value 0 })"  FILTER="(userCertificate:componentFilterMatch:=item:{ component \"tbsCertificate.serialNumber\", rule allComponentsMatch, value 0 })"
 echo "        f=$FILTER ..."  echo "        f=$FILTER ..."
 echo "#         f=$FILTER ..." >> $SEARCHOUT  echo "#         f=$FILTER ..." >> $SEARCHOUT
 $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \  $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \
Line 177  FILTER="(userCertificate:componentFilter Line 177  FILTER="(userCertificate:componentFilter
 echo "        f=$FILTER ..."  echo "        f=$FILTER ..."
 echo "#         f=$FILTER ..." >> $SEARCHOUT  echo "#         f=$FILTER ..." >> $SEARCHOUT
 $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \  $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \
           "$FILTER" >> $SEARCHOUT 2>&1
   
   RC=$?
   if test $RC != 0 ; then
           echo "ldapsearch failed ($RC)!"
           test $KILLSERVERS != no && kill -HUP $KILLPIDS
           exit $RC
   fi
   
   FILTER="(userCertificate:componentFilterMatch:=item:{ component \"tbsCertificate.issuer.rdnSequence\", rule distinguishedNameMatch, value \"c=US\" })"
   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)!"
           test $KILLSERVERS != no && kill -HUP $KILLPIDS
           exit $RC
   fi
   
   FILTER="(userCertificate:componentFilterMatch:=item:{ component \"tbsCertificate.issuer.rdnSequence.1\", rule rdnMatch, value \"c=US\" })"
   echo "        f=$FILTER ..."
   echo "#         f=$FILTER ..." >> $SEARCHOUT
   $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \
         "$FILTER" >> $SEARCHOUT 2>&1          "$FILTER" >> $SEARCHOUT 2>&1
   
 RC=$?  RC=$?

Removed from v.1.6  
changed lines
  Added in v.1.7


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org