From 370fd228707a8076809fd9e58c2aeed8e2e26eb0 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 13 Sep 2003 09:51:28 +0000 Subject: [PATCH] Add comment about normalized values in mods vs entry attributes --- servers/slapd/modify.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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 ) { -- 2.39.5