Steve French 32f319183c smb3: workaround negprot bug in some Samba servers
Mount can now fail to older Samba servers due to a server
bug handling padding at the end of the last negotiate
context (negotiate contexts typically are rounded up to 8
bytes by adding padding if needed). This server bug can
be avoided by switching the order of negotiate contexts,
placing a negotiate context at the end that does not
require padding (prior to the recent netname context fix
this was the case on the client).

Fixes: 73130a7b1ac9 ("smb3: fix empty netname context on secondary channels")
Reported-by: Julian Sikorski <belegdol@gmail.com>
Tested-by: Julian Sikorski <belegdol+github@gmail.com>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
2022-07-13 19:59:47 -05:00
..
2021-06-20 21:28:17 -05:00
2022-06-12 11:05:44 -07:00
2020-06-01 00:10:18 -05:00
2022-05-24 14:11:17 -05:00
2022-01-19 11:21:08 -06:00
2022-05-25 07:41:22 -05:00
2022-05-25 07:41:22 -05:00
2022-01-19 11:21:08 -06:00
2022-05-23 20:24:12 -05:00
2019-01-24 09:37:33 -06:00
2022-06-16 18:07:10 -05:00
2021-04-25 16:28:23 -05:00