git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ff4764
)
s4/repl: give a useful error message if we can't decode an object
author
Andrew Tridgell
<tridge@samba.org>
Thu, 10 Sep 2009 07:42:36 +0000
(17:42 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 10 Sep 2009 07:42:36 +0000
(17:42 +1000)
source4/dsdb/repl/replicated_objects.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/repl/replicated_objects.c
b/source4/dsdb/repl/replicated_objects.c
index 4002ea8ae054f731135cce0fef6bf937d3eadf4d..459c7b5455d45aa2f858f4b9a2880a83f66bad01 100644
(file)
--- 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;