Sachin Prabhu ee9bbf465d Set UID in sess_auth_rawntlmssp_authenticate too
A user complained that they were unable to login to their cifs share
after a kernel update. From the wiretrace we can see that the server
returns different UIDs as response to NTLMSSP_NEGOTIATE and NTLMSSP_AUTH
phases.

With changes in the authentication code, we no longer set the
cifs_sess->Suid returned in response to the NTLM_AUTH phase and continue
to use the UID sent in response to the NTLMSSP_NEGOTIATE phase. This
results in the server denying access to the user when the user attempts
to do a tcon connect.

See https://bugzilla.redhat.com/show_bug.cgi?id=1163927

A test kernel containing patch was tested successfully by the user.

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Signed-off-by: Steve French <steve.french@primarydata.com>
2014-12-07 23:43:02 -06:00
..
2013-11-08 05:57:46 +09:00
2014-10-16 15:20:20 -05:00
2014-05-21 10:18:05 -07:00
2014-10-17 17:17:12 -05:00
2007-06-05 18:30:44 +00:00
2014-12-07 22:17:19 -06:00
2012-07-24 10:25:13 -05:00
2013-09-08 14:54:24 -05:00