summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-01-23 15:44:02 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-01-23 15:44:02 +1100
commitdc08079d814cd1375a3d93530bc2fa0e336210d8 (patch)
tree94034e806ce5e1b80b18f6611aeff7f4db569f94 /source4/dsdb
parent4172e09c5395b7004ada0d4a9e786bba6c159bc9 (diff)
downloadsamba-dc08079d814cd1375a3d93530bc2fa0e336210d8.tar.gz
samba-dc08079d814cd1375a3d93530bc2fa0e336210d8.tar.bz2
samba-dc08079d814cd1375a3d93530bc2fa0e336210d8.zip
Get more information from ldb when reporting a failed replication.
Andrew Bartlett (This used to be commit 948ee9b7acd90b994bb9d9f7c1813a8eca430e4f)
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/repl/replicated_objects.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/repl/replicated_objects.c b/source4/dsdb/repl/replicated_objects.c
index 8aff1340a5..552d83f411 100644
--- a/source4/dsdb/repl/replicated_objects.c
+++ b/source4/dsdb/repl/replicated_objects.c
@@ -400,8 +400,8 @@ WERROR dsdb_extended_replicated_objects_commit(struct ldb_context *ldb,
ret = ldb_extended(ldb, DSDB_EXTENDED_REPLICATED_OBJECTS_OID, out, &ext_res);
if (ret != LDB_SUCCESS) {
- DEBUG(0,("Failed to apply records: %d: %s\n",
- ret, ldb_strerror(ret)));
+ DEBUG(0,("Failed to apply records: %s: %s\n",
+ ldb_errstring(ldb), ldb_strerror(ret)));
talloc_free(out);
return WERR_FOOBAR;
}