summaryrefslogtreecommitdiff
path: root/source3/libsmb/cliconnect.c
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2002-09-03 03:48:28 +0000
committerRichard Sharpe <sharpe@samba.org>2002-09-03 03:48:28 +0000
commit207455610418a32b428f1f267091e2ec7d245ece (patch)
treefa7f9f1a1bf4ab802fa193824173590feffa4985 /source3/libsmb/cliconnect.c
parent386a41695001ff56c7ef1f6f25d94555fb58aed0 (diff)
downloadsamba-207455610418a32b428f1f267091e2ec7d245ece.tar.gz
samba-207455610418a32b428f1f267091e2ec7d245ece.tar.bz2
samba-207455610418a32b428f1f267091e2ec7d245ece.zip
The session key in NTLMSSP AUTH blobs is actually an empty string.
Also, the negotiate blob has two ASCI strings encoded in the same way that the UNICODE strings are, they are just in ASCII. The PARSER and Generator will have to deal with that. (This used to be commit aaa7a681ce4ee52edb23c73a53aeabb07fd5b7d8)
Diffstat (limited to 'source3/libsmb/cliconnect.c')
-rw-r--r--source3/libsmb/cliconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index e9b2b7b32e..c441cf28a8 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -540,7 +540,7 @@ static BOOL cli_session_setup_ntlmssp(struct cli_state *cli, char *user,
workgroup,
user,
cli->calling.name,
- sess_key, 16,
+ sess_key, 0,
neg_flags);
/* wrap it in SPNEGO */