ITS#8498 slapadd: silence warning for NULL entry

This commit is contained in:
Howard Chu 2023-11-02 16:53:26 +00:00
parent 543230c9e7
commit 2939df1a1d

View file

@ -289,7 +289,7 @@ again:
attr_merge( e, slap_schema.si_ad_modifyTimestamp, vals, NULL ); attr_merge( e, slap_schema.si_ad_modifyTimestamp, vals, NULL );
} }
if ( SLAP_SINGLE_SHADOW(be) && got != GOT_ALL ) { if ( SLAP_SINGLE_SHADOW(be) && got != GOT_ALL && e->e_name.bv_len ) {
Debug(LDAP_DEBUG_ANY, Debug(LDAP_DEBUG_ANY,
"%s: warning, missing attrs %s%s%s from entry dn=\"%s\"\n", "%s: warning, missing attrs %s%s%s from entry dn=\"%s\"\n",
progname, progname,