mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
When checking if an entry matches some filter, we have the list of
values as stored in the entry on the one hand and an assertion value that is not necessarily of the same syntax. So tell value_match this is the case by setting SLAP_MR_VALUE_IS_IN_MR_SYNTAX in flags.
This commit is contained in:
parent
5f6d5494dd
commit
dd34307cf7
1 changed files with 6 additions and 3 deletions
|
|
@ -254,7 +254,8 @@ static int test_mra_filter(
|
|||
int rc;
|
||||
const char *text;
|
||||
|
||||
rc = value_match( &ret, a->a_desc, mra->ma_rule, 0,
|
||||
rc = value_match( &ret, a->a_desc, mra->ma_rule,
|
||||
SLAP_MR_VALUE_IS_IN_MR_SYNTAX,
|
||||
a->a_vals[i], mra->ma_value,
|
||||
&text );
|
||||
|
||||
|
|
@ -325,7 +326,8 @@ test_ava_filter(
|
|||
int rc;
|
||||
const char *text;
|
||||
|
||||
rc = value_match( &ret, a->a_desc, mr, 0,
|
||||
rc = value_match( &ret, a->a_desc, mr,
|
||||
SLAP_MR_VALUE_IS_IN_MR_SYNTAX,
|
||||
a->a_vals[i], ava->aa_value,
|
||||
&text );
|
||||
|
||||
|
|
@ -511,7 +513,8 @@ test_substrings_filter(
|
|||
int rc;
|
||||
const char *text;
|
||||
|
||||
rc = value_match( &ret, a->a_desc, mr, 0,
|
||||
rc = value_match( &ret, a->a_desc, mr,
|
||||
SLAP_MR_VALUE_IS_IN_MR_SYNTAX,
|
||||
a->a_vals[i], f->f_sub,
|
||||
&text );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue