SMB client fails to connect to MacOS server
Attempts to use the SMB client to connect to a Mac OSX SMB server fail during connection setup, reporting "device busy".
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
commit 640abd28701e4370024630347e96eb61db782c91 Author: Gordon Ross <email@example.com> Date: 2019-04-08T01:37:42.000Z 10698 SMB client fails to connect to MacOS server Reviewed by: Jason King <firstname.lastname@example.org> Reviewed by: Toomas Soome <email@example.com> Reviewed by: Gergő Doma <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com>