summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-07-09 16:27:34 +0200
committerStefan Metzmacher <metze@samba.org>2010-07-09 16:43:17 +0200
commit1caa8b06f781758943e31c367e70014de1d04380 (patch)
tree6224e1fa05884f10e3b17304359401e46905977c /source4/dsdb
parent02a627e71995dc1b0d75165b0772da332b67ba7e (diff)
downloadsamba-1caa8b06f781758943e31c367e70014de1d04380.tar.gz
samba-1caa8b06f781758943e31c367e70014de1d04380.tar.bz2
samba-1caa8b06f781758943e31c367e70014de1d04380.zip
s4:drepl_notify: hide some bugs from the make test output
It's useless to get messages like this every few seconds: dreplsrv_notify: Failed to send DsReplicaSync to edbf4745-2966-49a7-8653-99200f1c9430._msdcs.samba2003.example.com for CN=Configuration,DC=samba2003,DC=example,DC=com - NT_STATUS_OBJECT_NAME_NOT_FOUND : WERR_BADFILE We have a non bug regarding non-linked DN attributes and changes of the target DN. metze
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/repl/drepl_notify.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/source4/dsdb/repl/drepl_notify.c b/source4/dsdb/repl/drepl_notify.c
index 8a39745a4e..6b8190173e 100644
--- a/source4/dsdb/repl/drepl_notify.c
+++ b/source4/dsdb/repl/drepl_notify.c
@@ -197,7 +197,18 @@ static void dreplsrv_notify_op_callback(struct tevent_req *subreq)
unsigned int msg_debug_level = 0;
werr = ntstatus_to_werror(status);
if (W_ERROR_EQUAL(werr, WERR_BADFILE)) {
- msg_debug_level = 1;
+ /*
+ * TODO:
+ *
+ * we should better fix the bug regarding
+ * non-linked attribute handling, instead
+ * of just hiding the failures.
+ *
+ * we should also remove the dc from our repsTo
+ * if it failed to often, instead of retrying
+ * every few seconds
+ */
+ msg_debug_level = 2;
}
DEBUG(msg_debug_level,