summaryrefslogtreecommitdiff
path: root/source3/libsmb/ntlmssp.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-05-05 05:15:54 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-05-05 05:15:54 +0000
commit423bd582f4f0f03ff086054060954e8e23cd02cd (patch)
treea5a379963446ac5f6cc8065f6e6318bc7205b941 /source3/libsmb/ntlmssp.c
parent0e1c8fa7c38a7259150db4d2bb825e7ebbebbc02 (diff)
downloadsamba-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/ntlmssp.c')
-rw-r--r--source3/libsmb/ntlmssp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c
index d54655d17f..356bb0c4fe 100644
--- a/source3/libsmb/ntlmssp.c
+++ b/source3/libsmb/ntlmssp.c
@@ -501,7 +501,7 @@ static NTSTATUS ntlmssp_client_challenge(struct ntlmssp_client_state *ntlmssp_st
if (!SMBNTLMv2encrypt(ntlmssp_state->user,
ntlmssp_state->domain,
ntlmssp_state->password, challenge_blob,
- &lm_response, &nt_response, &session_key)) {
+ &lm_response, &nt_response, NULL, &session_key)) {
data_blob_free(&challenge_blob);
return NT_STATUS_NO_MEMORY;
}