Bug #10698
closedSMB client fails to connect to MacOS server
100%
Description
Attempts to use the SMB client to connect to a Mac OSX SMB server fail during connection setup, reporting "device busy".
i.e.
smbutil view //user@macos
mount -F smbfs //user@macos/share /mnt
Updated by Gordon Ross about 3 years ago
This bug happens because the MacOS SMB server leaves "credits granted" at zero in the reply to our SMB Negotiate request. Windows and other servers set this to one.
SMB Negotiate is "special" because at that point (very early) in the conversation between client and server, we don't yet know if both parties can deal with SMB2 credits. The spec. says both sides should assume a credit charge of one and a credit grant of one.
The client can accommodate this by overriding the credit grant for this reply.
Updated by Electric Monk about 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
git commit 640abd28701e4370024630347e96eb61db782c91
commit 640abd28701e4370024630347e96eb61db782c91 Author: Gordon Ross <gwr@nexenta.com> Date: 2019-04-08T01:37:42.000Z 10698 SMB client fails to connect to MacOS server Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>