Using Ubuntu 16.04 and samba version 2:4.3.11+dfsg-0ubuntu0.16.04.1.
I have shared a folder using Nautilus, but I can't connect to it either though Nautilus or through smbclient.
Nautilus repeatedly asks for authentication, while smbclient returns:
tree connect failed: NT_STATUS_ACCESS_DENIED
I tried adding client use spnego = no to /etc/samba/smb.conf as mentioned here, but this only changes the error to:
session setup failed: NT_STATUS_INVALID_PARAMETER
If I allow guest access to the folder, everything works correctly.
Any ideas?