From: Howard Chu Date: Sat, 13 Sep 2003 09:51:28 +0000 (+0000) Subject: Add comment about normalized values in mods vs entry attributes X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~729 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=370fd228707a8076809fd9e58c2aeed8e2e26eb0;p=openldap Add comment about normalized values in mods vs entry attributes --- diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index 5ab98d6c81..ac412159c1 100644 --- a/servers/slapd/modify.c +++ b/servers/slapd/modify.c @@ -711,6 +711,14 @@ int slap_mods_check( return LDAP_CONSTRAINT_VIOLATION; } + /* if the type has a normalizer, generate the + * normalized values. otherwise leave them NULL. + * + * this is different from the rule for attributes + * in an entry - in an attribute list, the normalized + * value is set equal to the non-normalized value + * when there is no normalizer. + */ if( nvals && ad->ad_type->sat_equality && ad->ad_type->sat_equality->smr_normalize ) {