]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: connect to servername instead of IP for IPC$ share
authorThomas Werschlein <thomas.werschlein@geo.uzh.ch>
Thu, 30 Aug 2018 16:29:20 +0000 (18:29 +0200)
committerSteve French <stfrench@microsoft.com>
Mon, 3 Sep 2018 04:21:42 +0000 (23:21 -0500)
commita72d1767f48fad1dfe49d532e57820087204d88a
treebc69bb83cdad4664033adb4782c36ee0dff1ac9e
parent1bcc82ebf0123ccdcabf50928c17d8fe56ee1ead
cifs: connect to servername instead of IP for IPC$ share

This patch is required allows access to a Microsoft fileserver failover
cluster behind a 1:1 NAT firewall.

The change also provides stronger context for authentication and share
connection (see MS-SMB2 3.3.5.7 and MS-SRVS 3.1.6.8) as noted by
Tom Talpey, and addresses comments about the buffer size for the UNC
made by AurĂ©lien Aptel.

Signed-off-by: Thomas Werschlein <thomas.werschlein@geo.uzh.ch>
Signed-off-by: Steve French <stfrench@microsoft.com>
CC: Tom Talpey <ttalpey@microsoft.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
CC: Stable <stable@vger.kernel.org>
fs/cifs/connect.c