Revamp the authentication code for SMB2 to bring it in line with the code for SMB1 authentication. This also fixes a double free issue caused when we hit an error generating a ntlmssp blob. One way to hit this is to enable FIPS mode which prevents the module from using md5 for NTLMSSP authentication. Sachin Prabhu (2): SMB2: Separate Kerberos authentication from SMB2_sess_setup SMB2: Seperate RawNTLMSSP authentication from SMB2_sess_setup fs/cifs/smb2pdu.c | 557 ++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 352 insertions(+), 205 deletions(-) -- 2.7.4 -- 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