summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-06-26 06:39:18 +0000
committerAndrew Tridgell <tridge@samba.org>2002-06-26 06:39:18 +0000
commit12658bc7257732b28ffe8e18a47b1527df693510 (patch)
treee39722c1cf45048fe80d5f9549d56a37d786aeba /source3/libsmb
parentde8fe0a2eb740ead8f37c1e65a3139a3b2cee201 (diff)
downloadsamba-12658bc7257732b28ffe8e18a47b1527df693510.tar.gz
samba-12658bc7257732b28ffe8e18a47b1527df693510.tar.bz2
samba-12658bc7257732b28ffe8e18a47b1527df693510.zip
reverted some bogus test code that jeremy accidentally committed
(This used to be commit 6b28ca8bd2a6613989bb23be951836d173296197)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cliconnect.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index c621d9a34e..50d9edf5b2 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -635,12 +635,10 @@ BOOL cli_session_setup(struct cli_state *cli,
return cli_session_setup_plaintext(cli, user, pass, workgroup);
}
-#if 0 /* JRATEST for signing. */
/* if the server supports extended security then use SPNEGO */
if (cli->capabilities & CAP_EXTENDED_SECURITY) {
return cli_session_setup_spnego(cli, user, pass, workgroup);
}
-#endif
/* otherwise do a NT1 style session setup */
return cli_session_setup_nt1(cli, user,
@@ -825,10 +823,6 @@ BOOL cli_negprot(struct cli_state *cli)
cli->use_spnego = False;
}
-#if 1 /* JRA SIGN TEST */
- cli->use_spnego = False;
-#endif
-
memset(cli->outbuf,'\0',smb_size);
/* setup the protocol strings */
@@ -893,10 +887,8 @@ BOOL cli_negprot(struct cli_state *cli)
if (getenv("CLI_FORCE_SMB_SIGNING"))
cli->sign_info.negotiated_smb_signing = True;
-#if 0
if (cli->sign_info.negotiated_smb_signing && !(cli->sec_mode & NEGOTIATE_SECURITY_SIGNATURES_ENABLED))
cli->sign_info.negotiated_smb_signing = False;
-#endif
} else if (cli->protocol >= PROTOCOL_LANMAN1) {
cli->use_spnego = False;