]> git.sur5r.net Git - openldap/commitdiff
Resync, additional error log
authorHoward Chu <hyc@openldap.org>
Sat, 27 Aug 2005 10:54:13 +0000 (10:54 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 27 Aug 2005 10:54:13 +0000 (10:54 +0000)
servers/slapd/bconfig.c

index 65d46c9ea7b933b9c3c80b680358dfe24446bea2..29f316e0cae18837825140d9b28274804d1dc228 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;
 }