From: Shirish Pargaonkar Date: Wed, 13 Oct 2010 23:15:00 +0000 (-0500) Subject: NTLM authentication and signing - Calculate auth response per smb session X-Git-Tag: v2.6.37-rc1~158^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d0d28824c76409f0d1a645bf0ae81318c8ffa42;p=pandora-kernel.git NTLM authentication and signing - Calculate auth response per smb session Start calculation auth response within a session. Move/Add pertinet data structures like session key, server challenge and ntlmv2_hash in a session structure. We should do the calculations within a session before copying session key and response over to server data structures because a session setup can fail. Only after a very first smb session succeeds, it copies/makes its session key, session key of smb connection. This key stays with the smb connection throughout its life. Signed-off-by: Shirish Pargaonkar Reviewed-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed