mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
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
This commit is contained in:
parent
02a627e719
commit
1caa8b06f7
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user