summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-12-21 20:58:09 +1100
committerAndrew Tridgell <tridge@samba.org>2009-12-21 23:41:09 +1100
commit452fc0d6f44eea0876c3671400d8a8713d00ddce (patch)
treecc87e45053d999750dac9feb72d7327ad7b9ae1f /source4
parent92d75a4bfb1d666950f39aba19fcc4d97c2234ad (diff)
downloadsamba-452fc0d6f44eea0876c3671400d8a8713d00ddce.tar.gz
samba-452fc0d6f44eea0876c3671400d8a8713d00ddce.tar.bz2
samba-452fc0d6f44eea0876c3671400d8a8713d00ddce.zip
s4-repl: give a reason why the prepare commit failed
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/repl/replicated_objects.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/repl/replicated_objects.c b/source4/dsdb/repl/replicated_objects.c
index 1efbd29d93..abd3ac85da 100644
--- a/source4/dsdb/repl/replicated_objects.c
+++ b/source4/dsdb/repl/replicated_objects.c
@@ -319,7 +319,8 @@ WERROR dsdb_extended_replicated_objects_commit(struct ldb_context *ldb,
ret = ldb_transaction_prepare_commit(ldb);
if (ret != LDB_SUCCESS) {
- DEBUG(0,(__location__ " Failed to prepare commit of transaction\n"));
+ DEBUG(0,(__location__ " Failed to prepare commit of transaction: %s\n",
+ ldb_errstring(ldb)));
return WERR_FOOBAR;
}