From: Howard Chu Date: Sat, 27 Aug 2005 10:51:08 +0000 (+0000) Subject: Additional log msg for config tree processing failures X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~555 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b265c37c9b56f1fbe61a63fd238c4de26ba5eca4;p=openldap Additional log msg for config tree processing failures --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index b62529e524..c25ac669fe 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -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; }