Pavel Shilovsky 67dbea2ce6 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>
2017-04-13 10:03:26 -05:00
..
2016-10-13 19:48:11 -05:00
2017-03-02 23:11:54 -06:00
2017-04-07 08:04:41 -05:00
2017-04-07 08:04:41 -05:00
2017-04-10 23:36:39 -05:00
2013-11-08 05:57:46 +09:00
2017-04-07 08:04:41 -05:00
2016-12-15 00:21:37 -06:00
2014-12-14 14:55:57 -06:00
2017-01-14 14:58:29 -06:00
2007-06-05 18:30:44 +00:00
2017-03-02 23:13:37 -06:00
2017-03-02 23:13:37 -06:00
2017-04-07 08:04:40 -05:00
2017-04-07 08:04:40 -05:00
2012-07-24 10:25:13 -05:00
2017-04-07 08:04:40 -05:00
2017-04-07 08:04:40 -05:00
2013-09-08 14:54:24 -05:00