summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-09-24 00:47:37 +0300
committerKamen Mazdrashki <kamenim@samba.org>2010-10-10 12:58:32 +0300
commit20029aac31d1952b8307d4f0c3c628f17562af51 (patch)
tree0e81a67f1957269c7805ea0eab9b12474d57a7da
parent81e5e23683ebbb48bb3a2b2db306f47234cdfe09 (diff)
downloadsamba-20029aac31d1952b8307d4f0c3c628f17562af51.tar.gz
samba-20029aac31d1952b8307d4f0c3c628f17562af51.tar.bz2
samba-20029aac31d1952b8307d4f0c3c628f17562af51.zip
s4-dsdb-repl: Print what the error code for failure is
-rw-r--r--source4/dsdb/repl/replicated_objects.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/dsdb/repl/replicated_objects.c b/source4/dsdb/repl/replicated_objects.c
index 0beb53c2f3..10b13a8368 100644
--- a/source4/dsdb/repl/replicated_objects.c
+++ b/source4/dsdb/repl/replicated_objects.c
@@ -271,7 +271,9 @@ WERROR dsdb_extended_replicated_objects_convert(struct ldb_context *ldb,
out->objects, &out->objects[i]);
if (!W_ERROR_IS_OK(status)) {
talloc_free(out);
- DEBUG(0,("Failed to convert object %s\n", cur->object.identifier->dn));
+ DEBUG(0,("Failed to convert object %s: %s\n",
+ cur->object.identifier->dn,
+ win_errstr(status)));
return status;
}
}