From ced3bcfb6301cdd608bbb99794c84c23625f61d7 Mon Sep 17 00:00:00 2001 From: Christof Schmitt Date: Thu, 8 Sep 2016 14:16:18 -0700 Subject: [PATCH] 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 --- source3/smbd/negprot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c index d2e5e2ee27e..bd09b1df1b1 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); } -- 2.34.1