summaryrefslogtreecommitdiff
path: root/source4/auth/ntlmssp
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-06-19 13:26:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:32 -0500
commite578c33c2c8bc23a9a78259613f33b65d7d1668f (patch)
treec4d81bd1c4bcd31b456533e8ce6e20353344c0cf /source4/auth/ntlmssp
parent3e73885ba4eb0d60d6ed997360e0ea3e17dc154d (diff)
downloadsamba-e578c33c2c8bc23a9a78259613f33b65d7d1668f.tar.gz
samba-e578c33c2c8bc23a9a78259613f33b65d7d1668f.tar.bz2
samba-e578c33c2c8bc23a9a78259613f33b65d7d1668f.zip
r7757: Add NTLMv2 support to the NT1 Session setup (ie, not SPNEGO/NTLMSSP)
Session Setup code. Add a mem_ctx argument to a few of the NTLMv2 support functions, and add smb.conf options to control client NTLMv2 behaviour. Andrew Bartlett (This used to be commit 3f35cdb218a3dae08a05e77452ca9f73716ceb28)
Diffstat (limited to 'source4/auth/ntlmssp')
-rw-r--r--source4/auth/ntlmssp/ntlmssp_client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/auth/ntlmssp/ntlmssp_client.c b/source4/auth/ntlmssp/ntlmssp_client.c
index 23fe8f5cc9..726885c82f 100644
--- a/source4/auth/ntlmssp/ntlmssp_client.c
+++ b/source4/auth/ntlmssp/ntlmssp_client.c
@@ -203,7 +203,8 @@ NTSTATUS ntlmssp_client_challenge(struct gensec_security *gensec_security,
/* TODO: if the remote server is standalone, then we should replace 'domain'
with the server name as supplied above */
- if (!SMBNTLMv2encrypt_hash(user,
+ if (!SMBNTLMv2encrypt_hash(gensec_ntlmssp_state,
+ user,
domain,
nt_hash->hash, &challenge_blob,
&struct_blob,