mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix missing error text
This commit is contained in:
parent
28aca605c7
commit
1340530e41
@ -470,6 +470,7 @@ slap_mods2entry(
|
||||
snprintf( textbuf, textlen,
|
||||
"attribute '%s' provided more than once",
|
||||
mods->sml_desc->ad_cname.bv_val );
|
||||
*text = textbuf;
|
||||
return LDAP_TYPE_OR_VALUE_EXISTS;
|
||||
#endif
|
||||
}
|
||||
@ -500,6 +501,7 @@ slap_mods2entry(
|
||||
snprintf( textbuf, textlen,
|
||||
"%s: value #%d provided more than once",
|
||||
mods->sml_desc->ad_cname.bv_val, j );
|
||||
*text = textbuf;
|
||||
return LDAP_TYPE_OR_VALUE_EXISTS;
|
||||
|
||||
} else if ( rc != LDAP_SUCCESS ) {
|
||||
|
@ -525,6 +525,7 @@ slap_mods_no_repl_user_mod_check(
|
||||
snprintf( textbuf, textlen,
|
||||
"attribute '%s' provided more than once",
|
||||
mods->sml_desc->ad_cname.bv_val );
|
||||
*text = textbuf;
|
||||
return LDAP_TYPE_OR_VALUE_EXISTS;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user