Client connect signing error messages should be level zero else
authorJeremy Allison <jra@samba.org>
Mon, 1 Dec 2003 22:55:43 +0000 (22:55 +0000)
committerJeremy Allison <jra@samba.org>
Mon, 1 Dec 2003 22:55:43 +0000 (22:55 +0000)
they're easy to miss.
Jeremy.
(This used to be commit 7fa89b093709053650d197d2d0f091b9a1cd8218)

source3/libsmb/cliconnect.c

index a920a1b7ff24ef2666d4e5ed8e31762a4180d0c6..f6dfd4000688bc0019a5a1d2b34ffa62edc39b0a 100644 (file)
@@ -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;