summaryrefslogtreecommitdiff
path: root/source4/dsdb/repl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-10 17:42:36 +1000
committerAndrew Tridgell <tridge@samba.org>2009-09-10 17:42:36 +1000
commit25b68701c1c7541ef6233fae35145844911380ee (patch)
tree76a1568ad499729cf1a0b54b55fae4fb2734c4be /source4/dsdb/repl
parent2ff4764f8fb86842120a2b5de20df641e8821af7 (diff)
downloadsamba-25b68701c1c7541ef6233fae35145844911380ee.tar.gz
samba-25b68701c1c7541ef6233fae35145844911380ee.tar.bz2
samba-25b68701c1c7541ef6233fae35145844911380ee.zip
s4/repl: give a useful error message if we can't decode an object
Diffstat (limited to 'source4/dsdb/repl')
-rw-r--r--source4/dsdb/repl/replicated_objects.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/dsdb/repl/replicated_objects.c b/source4/dsdb/repl/replicated_objects.c
index 4002ea8ae0..459c7b5455 100644
--- a/source4/dsdb/repl/replicated_objects.c
+++ b/source4/dsdb/repl/replicated_objects.c
@@ -243,7 +243,10 @@ WERROR dsdb_extended_replicated_objects_commit(struct ldb_context *ldb,
status = dsdb_convert_object_ex(ldb, schema,
cur, gensec_skey,
out->objects, &out->objects[i]);
- W_ERROR_NOT_OK_RETURN(status);
+ if (!W_ERROR_IS_OK(status)) {
+ DEBUG(0,("Failed to convert object %s\n", cur->object.identifier->dn));
+ return status;
+ }
}
if (i != out->num_objects) {
return WERR_FOOBAR;