mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-01 12:39:35 -05:00
Compares get values in the matching rule syntax (see RFC2251, 4.1.7),
so we need to tell value_find about this.
This commit is contained in:
parent
cb98a604fb
commit
bf5ea315b6
2 changed files with 7 additions and 3 deletions
|
|
@ -100,7 +100,9 @@ bdb_compare(
|
|||
{
|
||||
rc = LDAP_COMPARE_FALSE;
|
||||
|
||||
if ( value_find( ava->aa_desc, a->a_vals, ava->aa_value ) == 0 )
|
||||
if ( value_find_ex( ava->aa_desc,
|
||||
SLAP_MR_VALUE_IS_IN_MR_SYNTAX,
|
||||
a->a_vals, ava->aa_value ) == 0 )
|
||||
{
|
||||
rc = LDAP_COMPARE_TRUE;
|
||||
break;
|
||||
|
|
@ -124,4 +126,4 @@ done:
|
|||
}
|
||||
|
||||
return rc;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -99,7 +99,9 @@ ldbm_back_compare(
|
|||
{
|
||||
rc = LDAP_COMPARE_FALSE;
|
||||
|
||||
if ( value_find( ava->aa_desc, a->a_vals, ava->aa_value ) == 0 )
|
||||
if ( value_find_ex( ava->aa_desc,
|
||||
SLAP_MR_VALUE_IS_IN_MR_SYNTAX,
|
||||
a->a_vals, ava->aa_value ) == 0 )
|
||||
{
|
||||
rc = LDAP_COMPARE_TRUE;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue