linux/fs/cifs
Pavel Shilovsky 67dbea2ce6 CIFS: Fix SMB3 mount without specifying a security mechanism
Commit ef65aaede2 ("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
..
asn1.c
cache.c
cifs_debug.c
cifs_debug.h
cifs_dfs_ref.c
cifs_fs_sb.h
cifs_ioctl.h
cifs_spnego.c
cifs_spnego.h
cifs_unicode.c
cifs_unicode.h CIFS: Fix sparse warnings 2017-03-02 23:11:54 -06:00
cifs_uniupr.h
cifsacl.c
cifsacl.h
cifsencrypt.c
cifsfs.c Introduce cifs_copy_file_range() 2017-04-07 08:04:41 -05:00
cifsfs.h Introduce cifs_copy_file_range() 2017-04-07 08:04:41 -05:00
cifsglob.h CIFS: remove bad_network_name flag 2017-04-10 23:36:39 -05:00
cifspdu.h
cifsproto.h CIFS: Fix null pointer deref during read resp processing 2017-04-10 23:36:38 -05:00
cifssmb.c CIFS: Fix null pointer deref during read resp processing 2017-04-10 23:36:38 -05:00
connect.c CIFS: handle guest access errors to Windows shares 2017-04-10 23:36:38 -05:00
dir.c
dns_resolve.c
dns_resolve.h
export.c
file.c CIFS: store results of cifs_reopen_file to avoid infinite wait 2017-04-10 23:36:39 -05:00
fscache.c
fscache.h
inode.c Merge branch 'rebased-statx' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2017-03-03 11:38:56 -08:00
ioctl.c Introduce cifs_copy_file_range() 2017-04-07 08:04:41 -05:00
Kconfig
link.c
Makefile
misc.c
netmisc.c
nterr.c
nterr.h
ntlmssp.h
readdir.c
rfc1002pdu.h
sess.c smb2: Enforce sec= mount option 2017-03-02 23:13:37 -06:00
smb1ops.c smb2: Enforce sec= mount option 2017-03-02 23:13:37 -06:00
smb2file.c
smb2glob.h
smb2inode.c
smb2maperror.c
smb2misc.c Handle mismatched open calls 2017-04-07 08:04:40 -05:00
smb2ops.c CIFS: Fix null pointer deref during read resp processing 2017-04-10 23:36:38 -05:00
smb2pdu.c CIFS: Fix SMB3 mount without specifying a security mechanism 2017-04-13 10:03:26 -05:00
smb2pdu.h CIFS: implement get_dfs_refer for SMB2+ 2017-03-02 17:05:31 -06:00
smb2proto.h Handle mismatched open calls 2017-04-07 08:04:40 -05:00
smb2status.h
smb2transport.c Handle mismatched open calls 2017-04-07 08:04:40 -05:00
smbencrypt.c
smberr.h
smbfsctl.h
transport.c Handle mismatched open calls 2017-04-07 08:04:40 -05:00
winucase.c
xattr.c