mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
do not denormalize attrs without equality rule (ITS#6818)
This commit is contained in:
parent
c721b2b7a0
commit
539a6902de
1 changed files with 3 additions and 1 deletions
|
|
@ -298,7 +298,9 @@ map_attr_value(
|
|||
return -1;
|
||||
}
|
||||
|
||||
} else if ( ad->ad_type->sat_equality->smr_usage & SLAP_MR_MUTATION_NORMALIZER ) {
|
||||
} else if ( ad->ad_type->sat_equality &&
|
||||
ad->ad_type->sat_equality->smr_usage & SLAP_MR_MUTATION_NORMALIZER )
|
||||
{
|
||||
if ( ad->ad_type->sat_equality->smr_normalize(
|
||||
(SLAP_MR_DENORMALIZE|SLAP_MR_VALUE_OF_ASSERTION_SYNTAX),
|
||||
NULL, NULL, value, &vtmp, memctx ) )
|
||||
|
|
|
|||
Loading…
Reference in a new issue