summaryrefslogtreecommitdiff
path: root/source3/libsmb/cliconnect.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-12-01 22:55:41 +0000
committerJeremy Allison <jra@samba.org>2003-12-01 22:55:41 +0000
commit6eed4ed9adbdce228b6e239fa0c4bb3f21d25f1f (patch)
tree4261f730b9facb5d0c8286a93da2feafbb2c5aba /source3/libsmb/cliconnect.c
parentb91cff3fc5ccb9b08336c89e1a1e94959e15ee88 (diff)
downloadsamba-6eed4ed9adbdce228b6e239fa0c4bb3f21d25f1f.tar.gz
samba-6eed4ed9adbdce228b6e239fa0c4bb3f21d25f1f.tar.bz2
samba-6eed4ed9adbdce228b6e239fa0c4bb3f21d25f1f.zip
Client connect signing error messages should be level zero else
they're easy to miss. Jeremy. (This used to be commit b5f32a0869017a3ce457bf45e4aa2c1b621162c6)
Diffstat (limited to 'source3/libsmb/cliconnect.c')
-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;