aboutsummaryrefslogtreecommitdiff
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2012-12-04 16:56:37 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-11 09:18:50 -0800
commite1593cb019046a8e29442a3376d8b30230e6a15d (patch)
treef8b189b2d1b4c240e48ab4ca08fa4ebcdd53aa5f /fs/cifs/cifsfs.c
parent4fc832846b7e2afb0775be4521bcd801c60eba1f (diff)
SMB3 mounts fail with access denied to some servers
commit 52c0f4ad8ed462d81f1d37f56a74a71dc0c9bf0f upstream. We were checking incorrectly if signatures were required to be sent, so were always sending signatures after the initial session establishment. For SMB3 mounts (vers=3.0) this was a problem because we were putting SMB2 signatures in SMB3 requests which would cause access denied on mount (the tree connection would fail). This might also be worth considering for stable (for 3.7), as the error message on mount (access denied) is confusing to users and there is no workaround if the server is configured to only support smb3.0. I am ok either way. Signed-off-by: Steve French <smfrench@gmail.com> Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/cifs/cifsfs.c')
0 files changed, 0 insertions, 0 deletions