From: Jeremy Allison Date: Mon, 1 Dec 2003 22:55:41 +0000 (+0000) Subject: Client connect signing error messages should be level zero else X-Git-Tag: samba-3.0.1rc2~7^2~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b5f32a0869017a3ce457bf45e4aa2c1b621162c6;p=thirdparty%2Fsamba.git Client connect signing error messages should be level zero else they're easy to miss. Jeremy. --- diff --git a/source/libsmb/cliconnect.c b/source/libsmb/cliconnect.c index a920a1b7ff2..f6dfd400068 100644 --- a/source/libsmb/cliconnect.c +++ b/source/libsmb/cliconnect.c @@ -1021,7 +1021,7 @@ BOOL cli_negprot(struct cli_state *cli) cli->protocol = prots[SVAL(cli->inbuf,smb_vwv0)].prot; if ((cli->protocol < PROTOCOL_NT1) && cli->sign_info.mandatory_signing) { - DEBUG(1,("cli_negprot: SMB signing is mandatory and the selected protocol level doesn't support it.\n")); + DEBUG(0,("cli_negprot: SMB signing is mandatory and the selected protocol level doesn't support it.\n")); return False; } @@ -1057,7 +1057,7 @@ BOOL cli_negprot(struct cli_state *cli) if (cli->sec_mode & NEGOTIATE_SECURITY_SIGNATURES_REQUIRED) { /* Fail if server says signing is mandatory and we don't want to support it. */ if (!cli->sign_info.allow_smb_signing) { - DEBUG(1,("cli_negprot: SMB signing is mandatory and we have disabled it.\n")); + DEBUG(0,("cli_negprot: SMB signing is mandatory and we have disabled it.\n")); return False; } cli->sign_info.negotiated_smb_signing = True;