- &value, &ava.aa_value, &text );
-#else
- rc = value_validate_normalize( ava.aa_desc, SLAP_MR_EQUALITY,
- &value, &ava.aa_value, &text );
-#endif
- if( rc != LDAP_SUCCESS ) {
- send_ldap_result( conn, op, rc, NULL, text, NULL, NULL );
+ &value, &ava.aa_value, &rs->sr_text, op->o_tmpmemctx );
+ if( rs->sr_err != LDAP_SUCCESS ) {
+ send_ldap_result( op, rs );