- /* valiate using equality matching rule validator! */
- rc = value_validate( f->f_sub_desc->ad_type->sat_equality,
+#ifdef SLAP_NVALUES
+ /* validate/normalize using equality matching rule validator! */
+ rc = asserted_value_validate_normalize(
+ ssa.sa_desc, ssa.sa_desc->ad_type->sat_equality,
+ usage, &value, &nvalue, text );
+
+ if( rc != LDAP_SUCCESS ) {
+ goto return_error;
+ }
+#else
+ /* validate using equality matching rule validator! */
+ rc = value_validate( ssa.sa_desc->ad_type->sat_equality,