Re: [PATCH] cifs: Cleanup and thus reduce smb session structure and fields used during authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 28 Oct 2010 09:53:07 -0500
shirishpargaonkar@xxxxxxxxx wrote:

> From: Shirish Pargaonkar <shirishpargaonkar@xxxxxxxxx>
> 
> 
> Removed following fields from smb session structure
>  cryptkey, ntlmv2_hash, tilen, tiblob
> and ntlmssp_auth structure is allocated dynamically only if the auth mech
> in NTLMSSP.
> 
> response field within a session_key structure is used to initially store the
> target info (either plucked from type 2 challenge packet in case of NTLMSSP
> or fabricated in case of NTLMv2 without extended security) and then to store
> Message Authentication Key (mak) (session key + client response).
> 
> Server challenge or cryptkey needed during a NTLMSSP authentication
> is now part of ntlmssp_auth structure which gets allocated and freed
> once authenticaiton process is done.
> 
> 
> Signed-off-by: Shirish Pargaonkar <shirishpargaonkar@xxxxxxxxx>


Nice cleanup. Looks good.

Reviewed-by: Jeff Layton <jlayton@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux