summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-12-01 22:55:43 +0000
committerJeremy Allison <jra@samba.org>2003-12-01 22:55:43 +0000
commit026e4762585328ae7a9a5d23b01a074646e65bf3 (patch)
treeaee9a2c531e461865e66887b954483e07d368147
parentc4167baca1f8890a1fccce2273f1809def3d9703 (diff)
downloadsamba-026e4762585328ae7a9a5d23b01a074646e65bf3.tar.gz
samba-026e4762585328ae7a9a5d23b01a074646e65bf3.tar.bz2
samba-026e4762585328ae7a9a5d23b01a074646e65bf3.zip
Client connect signing error messages should be level zero else
they're easy to miss. Jeremy. (This used to be commit 7fa89b093709053650d197d2d0f091b9a1cd8218)
-rw-r--r--source3/libsmb/cliconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index a920a1b7ff..f6dfd40006 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/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;