diff options
author | Steve French <sfrench@us.ibm.com> | 2006-06-08 01:41:32 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-06-08 01:41:32 -0400 |
commit | 1717ffc58850dfa9e08b4977f8d0323cb3336863 (patch) | |
tree | 6528d6d355b1288fe4831cdff59671f6536b4b2b /fs/cifs/sess.c | |
parent | f3ffb6814408f29817fc84d40ecc9c796acaa3ab (diff) |
[CIFS] NTLMv2 support part 5
NTLMv2 authentication (stronger authentication than default NTLM) which
many servers support now works. There was a problem with the construction
of the security blob in the older code. Currently requires
/proc/fs/cifs/Experimental to be set to 2
and
/proc/fs/cifs/SecurityFlags to be set to 0x4004 (to require using
NTLMv2 instead of default of NTLM)
Next we will check signing to make sure optional NTLMv2 packet signing also
works.
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/sess.c')
-rw-r--r-- | fs/cifs/sess.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c index c6fd01f55e90..c039b54206aa 100644 --- a/fs/cifs/sess.c +++ b/fs/cifs/sess.c | |||
@@ -432,7 +432,7 @@ CIFS_SessSetup(unsigned int xid, struct cifsSesInfo *ses, int first_time, | |||
432 | cpu_to_le16(sizeof(struct ntlmv2_resp)); | 432 | cpu_to_le16(sizeof(struct ntlmv2_resp)); |
433 | 433 | ||
434 | /* calculate session key */ | 434 | /* calculate session key */ |
435 | setup_ntlmv2_rsp(ses, v2_sess_key); | 435 | setup_ntlmv2_rsp(ses, v2_sess_key, nls_cp); |
436 | if(first_time) /* should this be moved into common code | 436 | if(first_time) /* should this be moved into common code |
437 | with similar ntlmv2 path? */ | 437 | with similar ntlmv2 path? */ |
438 | /* cifs_calculate_ntlmv2_mac_key(ses->server->mac_signing_key, | 438 | /* cifs_calculate_ntlmv2_mac_key(ses->server->mac_signing_key, |