diff options
author | Pavel Shilovsky <pshilov@microsoft.com> | 2017-04-12 23:32:07 +0300 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2017-04-13 18:03:26 +0300 |
commit | 67dbea2ce6873f8ba57988ba3e608e8bf61c347f (patch) | |
tree | 605afa59035a55581d8fff5b0f985b9d69eedaff /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1fa839b4986d648b907d117275869a0e46c324b9 (diff) | |
download | linux-67dbea2ce6873f8ba57988ba3e608e8bf61c347f.tar.xz |
CIFS: Fix SMB3 mount without specifying a security mechanism
Commit ef65aaede23f ("smb2: Enforce sec= mount option") changed the
behavior of a mount command to enforce a specified security mechanism
during mounting. On another hand according to the spec if SMB3 server
doesn't respond with a security context it implies that it supports
NTLMSSP. The current code doesn't keep it in mind and fails a mount
for such servers if no security mechanism is specified. Fix this by
indicating that a server supports NTLMSSP if a security context isn't
returned during negotiate phase. This allows the code to use NTLMSSP
by default for SMB3 mounts.
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions