r26299: Print out which module failed to initialise.
authorAndrew Bartlett <abartlet@samba.org>
Tue, 4 Dec 2007 23:56:11 +0000 (00:56 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Dec 2007 04:48:15 +0000 (05:48 +0100)
Andrew Bartlett
(This used to be commit 6628d9f843d773ec1a5841f793b16f76910c39c4)

source4/lib/ldb/common/ldb_modules.c

index d2e55c048eb743b47bb051b89ca801fa3284358c..82973a41498fd2db1b71878f60ff7f62c124f805 100644 (file)
@@ -281,7 +281,7 @@ int ldb_init_module_chain(struct ldb_context *ldb, struct ldb_module *module)
 
        if (module && module->ops->init_context &&
                module->ops->init_context(module) != LDB_SUCCESS) {
-               ldb_debug(ldb, LDB_DEBUG_FATAL, "module initialization failed\n");
+               ldb_debug(ldb, LDB_DEBUG_FATAL, "module %s initialization failed\n", module->ops->name);
                return LDB_ERR_OPERATIONS_ERROR;
        }