What finally worked was adding --option="ntlmssp_client:force_old_spnego
= yes" to the command, as suggested here:
http://samba.2283325.n4.nabble.com/ntlmssp-errors-against-El-Capitan-s
-SMB-Server-tp4706666p4707237.html

This now lists shares on a Mac OSX server:

    smbclient -U$user%$password -L $mac_osx_host
--option="ntlmssp_client:force_old_spnego = yes"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711212

Title:
  smbclient fails to get shares from Mac OS X smb server

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1711212/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to