mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
fix previous commit (ITS#5819)
This commit is contained in:
parent
6f20049610
commit
55010d5e4e
@ -880,12 +880,13 @@ entry_naming_check(
|
|||||||
ava->la_attr.bv_val );
|
ava->la_attr.bv_val );
|
||||||
break;
|
break;
|
||||||
case LDAP_NO_SUCH_ATTRIBUTE:
|
case LDAP_NO_SUCH_ATTRIBUTE:
|
||||||
snprintf( textbuf, textlen,
|
|
||||||
"value of naming attribute '%s' is not present in entry",
|
|
||||||
ava->la_attr.bv_val );
|
|
||||||
if ( add_naming ) {
|
if ( add_naming ) {
|
||||||
add = 1;
|
add = 1;
|
||||||
rc = LDAP_SUCCESS;
|
rc = LDAP_SUCCESS;
|
||||||
|
} else {
|
||||||
|
snprintf( textbuf, textlen,
|
||||||
|
"value of naming attribute '%s' is not present in entry",
|
||||||
|
ava->la_attr.bv_val );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user