Additional log msg for config tree processing failures

This commit is contained in:
Howard Chu 2005-08-27 10:51:08 +00:00
parent 29731c1850
commit b265c37c9b

View file

@ -2535,6 +2535,10 @@ config_ldif_resp( Operation *op, SlapReply *rs )
sc->cfb->cb_got_ldif = 1;
rs->sr_err = config_add_internal( sc->cfb, rs->sr_entry, sc->ca, NULL, NULL );
if ( rs->sr_err != LDAP_SUCCESS ) {
Debug( LDAP_DEBUG_ANY, "config error processing %s: %s\n",
rs->sr_entry->e_name.bv_val, sc->ca->msg, 0 );
}
}
return rs->sr_err;
}