if( rc != 0 ) {
slap_mods_free( mod );
snprintf( textbuf, textlen,
- "%s: value #%ld contains invalid data",
+ "%s: value #%ld invalid per syntax",
ml->ml_type, (long) nvals );
*text = textbuf;
return LDAP_INVALID_SYNTAX;
"%s: multiple value provided",
ml->ml_type );
*text = textbuf;
- return LDAP_INVALID_SYNTAX;
+ return LDAP_CONSTRAINT_VIOLATION;
}
}