diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-05-05 05:15:54 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-05-05 05:15:54 +0000 |
commit | 423bd582f4f0f03ff086054060954e8e23cd02cd (patch) | |
tree | a5a379963446ac5f6cc8065f6e6318bc7205b941 /source3/libsmb/cliconnect.c | |
parent | 0e1c8fa7c38a7259150db4d2bb825e7ebbebbc02 (diff) | |
download | samba-423bd582f4f0f03ff086054060954e8e23cd02cd.tar.gz samba-423bd582f4f0f03ff086054060954e8e23cd02cd.tar.bz2 samba-423bd582f4f0f03ff086054060954e8e23cd02cd.zip |
Allow the NTLMv2 functions to spit out both possible varients on the session
key, so we can test it in ntlm_auth.
I suspect the 'lm' version doesn't exist, but it's easy to change back.
Andrew Bartlett
(This used to be commit 5efd95622c411f123660b6613b86c7a68bba68e8)
Diffstat (limited to 'source3/libsmb/cliconnect.c')
-rw-r--r-- | source3/libsmb/cliconnect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 9dddb6a163..982cbfff06 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -261,7 +261,7 @@ static BOOL cli_session_setup_nt1(struct cli_state *cli, const char *user, server_chal = data_blob(cli->secblob.data, MIN(cli->secblob.length, 8)); if (!SMBNTLMv2encrypt(user, workgroup, pass, server_chal, - &lm_response, &nt_response, &session_key)) { + &lm_response, &nt_response, NULL, &session_key)) { data_blob_free(&server_chal); return False; } |