Add comment about normalized values in mods vs entry attributes

This commit is contained in:
Howard Chu 2003-09-13 09:51:28 +00:00
parent c83f1812ef
commit 370fd22870

View file

@ -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 )
{