diff options
author | Shirish Pargaonkar <shirishpargaonkar@gmail.com> | 2011-08-24 23:05:46 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-09-19 21:16:58 -0500 |
commit | cfbd6f84c2e26c13ded16b6bb0871edb7d75974f (patch) | |
tree | 395e9fb411b4501fcc85d00ecd7b19d4256e5edb /fs/hugetlbfs | |
parent | c9c7fa0064f4afe1d040e72f24c2256dd8ac402d (diff) | |
download | blackbird-op-linux-cfbd6f84c2e26c13ded16b6bb0871edb7d75974f.tar.gz blackbird-op-linux-cfbd6f84c2e26c13ded16b6bb0871edb7d75974f.zip |
cifs: Fix broken sec=ntlmv2/i sec option (try #2)
Fix sec=ntlmv2/i authentication option during mount of Samba shares.
cifs client was coding ntlmv2 response incorrectly.
All that is needed in temp as specified in MS-NLMP seciton 3.3.2
"Define ComputeResponse(NegFlg, ResponseKeyNT, ResponseKeyLM,
CHALLENGE_MESSAGE.ServerChallenge, ClientChallenge, Time, ServerName)
as
Set temp to ConcatenationOf(Responserversion, HiResponserversion,
Z(6), Time, ClientChallenge, Z(4), ServerName, Z(4)"
is MsvAvNbDomainName.
For sec=ntlmsspi, build_av_pair is not used, a blob is plucked from
type 2 response sent by the server to use in authentication.
I tested sec=ntlmv2/i and sec=ntlmssp/i mount options against
Samba (3.6) and Windows - XP, 2003 Server and 7.
They all worked.
Signed-off-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/hugetlbfs')
0 files changed, 0 insertions, 0 deletions