mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-10 00:45:01 -05:00
When a validate function fails from within a tool, report the offending
attribute
This commit is contained in:
parent
fded00210e
commit
331e627541
1 changed files with 4 additions and 4 deletions
|
|
@ -218,12 +218,12 @@ str2entry( char *s )
|
|||
if( rc != 0 ) {
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG( OPERATION, ERR,
|
||||
"str2entry: invalid value for syntax %s\n",
|
||||
ad->ad_type->sat_syntax->ssyn_oid, 0, 0 );
|
||||
"str2entry: invalid value for attribute %s (syntax %s)\n",
|
||||
ad->ad_cname.bv_val, ad->ad_type->sat_syntax->ssyn_oid, 0 );
|
||||
#else
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"str2entry: invalid value for syntax %s\n",
|
||||
ad->ad_type->sat_syntax->ssyn_oid, 0, 0 );
|
||||
"str2entry: invalid value for attribute %s (syntax %s)\n",
|
||||
ad->ad_cname.bv_val, ad->ad_type->sat_syntax->ssyn_oid, 0 );
|
||||
#endif
|
||||
entry_free( e );
|
||||
free( vals[0].bv_val );
|
||||
|
|
|
|||
Loading…
Reference in a new issue