mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Fix undefined filter parsing
This commit is contained in:
parent
bee0650d9c
commit
733d6296a6
@ -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",
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user