git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34ce183
)
s4-ldb: show the reason for module initialization failure
author
Andrew Tridgell
<tridge@samba.org>
Fri, 5 Nov 2010 03:10:30 +0000
(14:10 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 5 Nov 2010 12:42:08 +0000
(23:42 +1100)
source4/lib/ldb/common/ldb_modules.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/common/ldb_modules.c
b/source4/lib/ldb/common/ldb_modules.c
index 96e3fed7ebaa5805b12788b0de9709fdade9cd1e..7de7cca98910535d8fa1c62c45cd689373ab6f6f 100644
(file)
--- a/
source4/lib/ldb/common/ldb_modules.c
+++ b/
source4/lib/ldb/common/ldb_modules.c
@@
-343,7
+343,8
@@
int ldb_module_init_chain(struct ldb_context *ldb, struct ldb_module *module)
if (module) {
int ret = module->ops->init_context(module);
if (ret != LDB_SUCCESS) {
- ldb_debug(ldb, LDB_DEBUG_FATAL, "module %s initialization failed", module->ops->name);
+ ldb_debug(ldb, LDB_DEBUG_FATAL, "module %s initialization failed : %s",
+ module->ops->name, ldb_strerror(ret));
return ret;
}
}