]> git.sur5r.net Git - openldap/commitdiff
Additional log msg for config tree processing failures
authorHoward Chu <hyc@openldap.org>
Sat, 27 Aug 2005 10:51:08 +0000 (10:51 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 27 Aug 2005 10:51:08 +0000 (10:51 +0000)
servers/slapd/bconfig.c

index b62529e5245aa75ce598c0779a8fcca078e37c87..c25ac669fea558aa4272c97e36937ed65d1be36c 100644 (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;
 }