diff options
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/sess.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c index e68744e169b..897a052270f 100644 --- a/fs/cifs/sess.c +++ b/fs/cifs/sess.c | |||
@@ -822,6 +822,10 @@ ssetup_ntlmssp_authenticate: | |||
822 | nls_cp, | 822 | nls_cp, |
823 | first_time); | 823 | first_time); |
824 | iov[1].iov_len = blob_len; | 824 | iov[1].iov_len = blob_len; |
825 | /* Make sure that we tell the server that we | ||
826 | are using the uid that it just gave us back | ||
827 | on the response (challenge) */ | ||
828 | smb_buf->Uid = ses->Suid; | ||
825 | } else { | 829 | } else { |
826 | cERROR(1, ("invalid phase %d", phase)); | 830 | cERROR(1, ("invalid phase %d", phase)); |
827 | rc = -ENOSYS; | 831 | rc = -ENOSYS; |