From: Christof Schmitt Date: Thu, 8 Sep 2016 21:16:18 +0000 (-0700) Subject: smbd: Adjust debug level of "No protocol supported" message X-Git-Url: http://git.samba.org/?p=metze%2Fsamba%2Fwip.git;a=commitdiff_plain;h=ced3bcfb6301cdd608bbb99794c84c23625f61d7 smbd: Adjust debug level of "No protocol supported" message SMB clients only supporting SMB1 connecting to a Samba server that only accepts SMB protocol versions 2 and 3 can spam the logs with the "No protocol supported" message. This is useful information for debugging failed connection attempts, but it should not be in the default log. Adjust it to NOTICE/3. Signed-off-by: Christof Schmitt Reviewed-by: Volker Lendecke --- diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c index d2e5e2ee27e3..bd09b1df1b1d 100644 --- a/source3/smbd/negprot.c +++ b/source3/smbd/negprot.c @@ -710,7 +710,7 @@ void reply_negprot(struct smb_request *req) supported_protocols[protocol].proto_reply_fn(req, choice); DEBUG(3,("Selected protocol %s\n",supported_protocols[protocol].proto_name)); } else { - DEBUG(0,("No protocol supported !\n")); + DBG_NOTICE("No protocol supported !\n"); reply_outbuf(req, 1, 0); SSVAL(req->outbuf, smb_vwv0, choice); }