Diff for /tests/scripts/test031-component-filter between versions 1.4 and 1.5

version 1.4, 2004/10/27 17:37:04 version 1.5, 2004/11/14 19:11:38
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="(componentCertificate:componentCertificateMatch:=item:{ component \"tbsCertificate.serialNumber\", rule allComponentsMatch, value 0 })"  FILTER="(usertCertificate: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 95  if test $RC != 0 ; then Line 95  if test $RC != 0 ; then
         exit $RC          exit $RC
 fi  fi
   
 FILTER="(componentCertificate:componentCertificateMatch:=item:{ component \"tbsCertificate.version\", rule allComponentsMatch, value 2 })"  FILTER="(userCertificate:componentFilterMatch:=item:{ component \"tbsCertificate.version\", rule allComponentsMatch, value 2 })"
 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 108  if test $RC != 0 ; then Line 108  if test $RC != 0 ; then
         exit $RC          exit $RC
 fi  fi
   
 FILTER="(componentCertificate:componentCertificateMatch:=item:{ component \"tbsCertificate.issuer.rdnSequence.1.1.value\", rule octetStringMatch, value \"US\" })"  FILTER="(userCertificate:componentFilterMatch:=item:{ component \"tbsCertificate.issuer.rdnSequence.1.1.value\", rule caseExactMatch, value \"US\" })"
 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 121  if test $RC != 0 ; then Line 121  if test $RC != 0 ; then
         exit $RC          exit $RC
 fi  fi
   
 FILTER="(componentCertificate:componentCertificateMatch:=item:{ component \"tbsCertificate.issuer.rdnSequence.1.1.value\", rule allComponentsMatch, value \"US\" })"  FILTER="(userCertificate:componentFilterMatch:=item:{ component \"tbsCertificate.issuer.rdnSequence.1.1.value\", rule allComponentsMatch, value \"US\" })"
 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 134  if test $RC != 0 ; then Line 134  if test $RC != 0 ; then
         exit $RC          exit $RC
 fi  fi
   
 FILTER="(componentCertificate:componentCertificateMatch:=item:{ component \"tbsCertificate.issuer.rdnSequence\", rule allComponentsMatch, value { { { type 2.5.4.6 , value \"US\" } } } })"  FILTER="(userCertificate:componentFilterMatch:=item:{ component \"tbsCertificate.issuer.rdnSequence\", rule allComponentsMatch, value { { { type 2.5.4.6 , value \"US\" } } } })"
 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 \

Removed from v.1.4  
changed lines
  Added in v.1.5


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