diff options
author | Andrew Bartlett <abartlet@samba.org> | 2016-03-21 15:51:12 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2016-06-06 16:36:23 +0200 |
commit | 4271692d865029ba39ebcef334cde4342bb3f72e (patch) | |
tree | 8a7330f29302d10c165adc3ffe2965301e55aa9a /source4 | |
parent | ca37c7146c35cb4e672dd2b859b31bf9b10cf332 (diff) | |
download | samba-4271692d865029ba39ebcef334cde4342bb3f72e.tar.gz |
repl: Do not report all replication failures at level 0
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/repl/replicated_objects.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source4/dsdb/repl/replicated_objects.c b/source4/dsdb/repl/replicated_objects.c index d2acff30b5b..674074c350f 100644 --- a/source4/dsdb/repl/replicated_objects.c +++ b/source4/dsdb/repl/replicated_objects.c @@ -836,8 +836,13 @@ WERROR dsdb_replicated_objects_commit(struct ldb_context *ldb, dsdb_reference_schema(ldb, cur_schema, false); } - DEBUG(0,("Failed to apply records: %s: %s\n", - ldb_errstring(ldb), ldb_strerror(ret))); + if (!W_ERROR_EQUAL(objects->error, WERR_DS_DRA_MISSING_PARENT)) { + DEBUG(1,("Failed to apply records: %s: %s\n", + ldb_errstring(ldb), ldb_strerror(ret))); + } else { + DEBUG(3,("Missing parent while attempting to apply records: %s\n", + ldb_errstring(ldb))); + } ldb_transaction_cancel(ldb); TALLOC_FREE(tmp_ctx); |