I've set up a Samba server to share some files with my Windows computer. The server is up and running but somehow the shared folder can only be accessed locally with:
smbclient //localhost/share
If I try to run the command also locally on Linux but use the binded IP address like:
smbclient //xxx.xxx.xx.x/share
It gives an error message:
WARNING: The "syslog" option is deprecated
protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE
Here's what I did to set up the server:
in smb.conf:
[global]
.... (default settings)
hosts allow = MY-WINDOWS-PC
bind interfaces only = yes
interfaces = lo eth0[share]
path = /mnt/my-share-folder/
valid users = my-user
read only = no
browsable = yes
public = no
writable = yes
I've also set up ufw by using:
sudo ufw enable samba
Anyone has any ideas what I might be missing here? Thanks!