summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-12-05 00:56:11 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:48:15 +0100
commitdbf77b640516b7a412aed2597a15ec2ddf4c17b5 (patch)
treeb2866e73a691188d9cd0efefb9d2fef812e841bc /source4
parentf5860b5a853c40c9e48f5bb0a87c086d268c53bd (diff)
downloadsamba-dbf77b640516b7a412aed2597a15ec2ddf4c17b5.tar.gz
samba-dbf77b640516b7a412aed2597a15ec2ddf4c17b5.tar.bz2
samba-dbf77b640516b7a412aed2597a15ec2ddf4c17b5.zip
r26299: Print out which module failed to initialise.
Andrew Bartlett (This used to be commit 6628d9f843d773ec1a5841f793b16f76910c39c4)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/ldb/common/ldb_modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_modules.c b/source4/lib/ldb/common/ldb_modules.c
index d2e55c048e..82973a4149 100644
--- a/source4/lib/ldb/common/ldb_modules.c
+++ b/source4/lib/ldb/common/ldb_modules.c
@@ -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;
}