fix previous commit (ITS#5819)

This commit is contained in:
Pierangelo Masarati 2008-11-19 17:08:48 +00:00
parent 6f20049610
commit 55010d5e4e

View File

@ -880,12 +880,13 @@ entry_naming_check(
ava->la_attr.bv_val );
break;
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 ) {
add = 1;
rc = LDAP_SUCCESS;
} else {
snprintf( textbuf, textlen,
"value of naming attribute '%s' is not present in entry",
ava->la_attr.bv_val );
}
break;
default: