smbclient fails to get shares from Mac OS X smb server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
In Ubuntu 16.04.2 LTS, smbclient 4.3.11 cannot list shares from Mac OS X smb servers.
Windows machines can access these Mac shares, and smbclient can also get the list of shares from the Windows 7 and Windows 10 machines.
The errors are "NTLMSSP packet check failed due to short signature (0 bytes)!", "NTLMSSP NTLM2 packet check failed due to invalid signature!" and finally "NT_STATUS_
$ sudo smbclient -A ~/smb.creds -d 2 -L mac-os-x-host
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog" option is deprecated
added interface wlp3s0 ip=192.168.81.72 bcast=192.
NTLMSSP packet check failed due to short signature (0 bytes)!
NTLMSSP NTLM2 packet check failed due to invalid signature!
GENSEC SPNEGO: failed to verify mechListMIC: NT_STATUS_
session setup failed: NT_STATUS_
I then tried to upgrade smbclient to the version 4.4.5 from Ubuntu 16.10, but still get the same result. The upgrade was difficult due to many dependencies, but this seems to have worked to upgrade (after downloading all these packages from the 16.10 repository:
sudo dpkg -i Downloads/
sudo dpkg -i Downloads/
sudo dpkg -i Downloads/
sudo dpkg -i Downloads/
sudo dpkg -i Downloads/
sudo dpkg -i Downloads/
sudo dpkg -i Downloads/
sudo dpkg -i Downloads/
smbclient -V
Version 4.4.5-Ubuntu
But the error messages are still exactly the same.
Can you retry with the -m option to specify other protocol versions? For example, "-m SMB2" and "-m SMB3".