From: Kurt Zeilenga Date: Wed, 24 May 2000 00:34:28 +0000 (+0000) Subject: SLAPD_SCHEMA_NOT_COMPAT: more filtering X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2884 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=80d52b18ce28939275a531749671fb131b3af644;p=openldap SLAPD_SCHEMA_NOT_COMPAT: more filtering --- diff --git a/servers/slapd/filterentry.c b/servers/slapd/filterentry.c index 77f191256b..94eed0aacd 100644 --- a/servers/slapd/filterentry.c +++ b/servers/slapd/filterentry.c @@ -176,11 +176,6 @@ test_filter( break; #endif - case 0: - Debug( LDAP_DEBUG_FILTER, " UNDEFINED\n", 0, 0, 0 ); - rc = -1; - break; - default: Debug( LDAP_DEBUG_ANY, " unknown filter type %lu\n", f->f_choice, 0, 0 ); @@ -259,9 +254,12 @@ test_ava_filter( for ( i = 0; a->a_vals[i] != NULL; i++ ) { int rc; - #ifdef SLAPD_SCHEMA_NOT_COMPAT - rc = 0; + const char *text; + + rc = value_match( a->a_desc, mr, + a->a_vals[i], ava->aa_value, + &text ); #else rc = value_cmp( a->a_vals[i], &ava->ava_value, a->a_syntax, 3 );