Fix undefined filter parsing

This commit is contained in:
Kurt Zeilenga 2001-06-16 02:20:48 +00:00
parent bee0650d9c
commit 733d6296a6
2 changed files with 2 additions and 2 deletions

View File

@ -331,7 +331,7 @@ get_filter(
break;
default:
(void) ber_skip_tag( ber, &len );
(void) ber_scanf( ber, "x" ); /* skip the element */
#ifdef NEW_LOGGING
LDAP_LOG(( "filter", LDAP_LEVEL_ERR,
"get_filter: conn %d unknown filter type=%lu\n",

View File

@ -69,7 +69,7 @@ fi
echo "Testing OR searching..."
$LDAPSEARCH -S "" -b "$BASEDN" -h localhost -p $PORT \
'(|(objectclass=groupofnames)(sn=jones))' >> $SEARCHOUT 2>&1
'(|(undefined=fubar)(objectclass=groupofnames)(sn=jones))' >> $SEARCHOUT 2>&1
if test $RC != 0 ; then
echo "ldapsearch failed ($RC)!"
kill -HUP $PID