Aurelien Aptel
f0712928be
CIFS: use DFS pathnames in SMB2+ Create requests
...
When connected to a DFS capable share, the client must set the
SMB2_FLAGS_DFS_OPERATIONS flag in the SMB2 header and use
DFS path names: "<server>\<share>\<path>" *without* leading \\.
Sources:
[MS-SMB2] 3.2.5.5 Receiving an SMB2 TREE_CONNECT Response
> TreeConnect.IsDfsShare MUST be set to TRUE, if the SMB2_SHARE_CAP_DFS
> bit is set in the Capabilities field of the response.
[MS-SMB2] 3.2.4.3 Application Requests Opening a File
> If TreeConnect.IsDfsShare is TRUE, the SMB2_FLAGS_DFS_OPERATIONS flag
> is set in the Flags field.
[MS-SMB2] 2.2.13 SMB2 CREATE Request, NameOffset:
> If SMB2_FLAGS_DFS_OPERATIONS is set in the Flags field of the SMB2
> header, the file name includes a prefix that will be processed during
> DFS name normalization as specified in section 3.3.5.9. Otherwise, the
> file name is relative to the share that is identified by the TreeId in
> the SMB2 header.
Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Acked-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <smfrench@gmail.com>
2017-03-02 17:04:58 -06:00
..
2017-02-24 17:46:54 -08:00
2016-10-10 20:16:43 -07:00
2017-02-27 18:43:46 -08:00
2017-02-27 18:43:47 -08:00
2017-02-27 18:43:45 -08:00
2016-12-22 11:25:24 +00:00
2016-12-24 11:46:01 -08:00
2017-02-27 18:43:46 -08:00
2016-10-10 20:16:43 -07:00
2017-02-28 15:36:09 -08:00
2017-03-02 17:04:58 -06:00
2016-12-09 16:45:04 +01:00
2016-12-24 11:46:01 -08:00
2017-02-06 23:45:28 -05:00
2017-02-23 20:33:51 -08:00
2016-10-10 20:16:43 -07:00
2016-12-25 17:21:23 +01:00
2017-02-27 18:43:47 -08:00
2016-10-10 20:16:43 -07:00
2016-12-24 11:46:01 -08:00
2017-01-14 11:37:18 +01:00
2016-10-06 09:07:44 -04:00
2017-02-24 17:46:54 -08:00
2017-02-27 18:43:47 -08:00
2017-02-24 17:46:54 -08:00
2016-10-10 20:16:43 -07:00
2017-01-31 13:23:09 -05:00
2017-02-24 17:46:54 -08:00
2017-02-24 17:46:54 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:45 -08:00
2016-12-09 16:45:04 +01:00
2016-10-10 20:16:43 -07:00
2016-12-24 11:46:01 -08:00
2016-12-13 10:19:16 -08:00
2017-02-20 18:24:39 -08:00
2016-12-09 16:45:04 +01:00
2017-02-27 18:43:46 -08:00
2017-02-27 21:41:08 -08:00
2017-01-31 12:31:54 -05:00
2016-12-09 16:45:04 +01:00
2017-02-27 18:43:47 -08:00
2017-02-28 15:39:09 -08:00
2016-11-18 10:59:15 -05:00
2017-02-28 15:39:09 -08:00
2017-02-27 18:43:46 -08:00
2017-02-23 20:33:51 -08:00
2016-12-24 11:46:01 -08:00
2017-02-27 18:43:47 -08:00
2016-10-10 20:16:43 -07:00
2016-12-24 11:46:01 -08:00
2017-02-27 18:43:46 -08:00
2017-01-18 15:19:54 +01:00
2017-02-27 18:43:48 -08:00
2017-02-24 17:46:57 -08:00
2016-12-19 08:23:53 -08:00
2016-12-24 11:46:01 -08:00
2017-02-27 18:43:46 -08:00
2017-01-24 16:26:14 -08:00
2017-02-24 17:46:57 -08:00
2016-10-14 12:18:50 -07:00
2016-12-09 16:45:04 +01:00
2016-09-27 21:06:21 -04:00
2017-02-24 17:46:54 -08:00
2017-02-27 18:43:46 -08:00
2016-12-24 11:46:01 -08:00
2017-02-27 18:43:46 -08:00
2017-02-24 17:46:55 -08:00
2016-12-24 11:46:01 -08:00
2016-10-10 20:16:43 -07:00
2016-12-09 11:57:43 +01:00
2016-12-24 11:46:01 -08:00
2017-02-01 09:13:51 +01:00
2017-02-22 16:41:29 -08:00
2016-09-27 21:06:22 -04:00
2017-02-27 18:43:46 -08:00
2017-02-27 18:43:46 -08:00
2016-08-23 22:58:51 -07:00
2017-02-01 09:13:51 +01:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2017-01-14 19:32:40 -05:00
2017-02-27 18:43:45 -08:00
2017-01-10 13:34:43 +13:00
2016-12-24 11:46:01 -08:00
2017-02-27 18:43:46 -08:00
2017-02-27 18:43:45 -08:00
2017-02-14 20:51:12 +13:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-05 19:01:16 -05:00
2016-09-27 18:47:38 -04:00
2016-12-24 11:46:01 -08:00
2016-12-12 18:55:08 -08:00
2016-10-10 20:16:43 -07:00
2017-01-30 16:32:25 -08:00
2016-12-16 11:02:54 +01:00
2017-02-27 18:43:46 -08:00
2017-01-24 16:26:14 -08:00
2016-10-24 08:12:35 -02:00
2017-01-10 13:34:55 +13:00
2016-12-24 11:46:01 -08:00
2016-12-14 23:48:11 -05:00
2016-12-03 15:55:01 -05:00
2017-02-04 00:01:06 +13:00
2017-02-27 18:43:46 -08:00
2017-02-02 04:36:12 +13:00
2017-02-04 00:01:06 +13:00
2017-02-03 14:35:43 +13:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2017-02-04 00:01:06 +13:00
2017-02-04 00:01:06 +13:00
2017-01-10 01:29:48 -05:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2017-02-16 09:09:02 -08:00
2017-02-27 18:43:46 -08:00
2016-12-05 19:03:49 -05:00
2017-02-23 20:33:51 -08:00
2017-02-10 11:15:09 +01:00
2017-02-27 18:43:48 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00