From 20029aac31d1952b8307d4f0c3c628f17562af51 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Fri, 24 Sep 2010 00:47:37 +0300 Subject: s4-dsdb-repl: Print what the error code for failure is --- source4/dsdb/repl/replicated_objects.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } } -- cgit