Two servers in the same network, a Windows server (client), and a Linux server (samba share host)
The shared folder can be seen by the client but not accessed. See below for the configuration: smb.conf:
[global]
workgroup = SAMBA
security = user
hosts allow = 192.168.1.40 #(windows server)
passdb backend = tdbsam
bind interfaces only = yes
netbios name = test-server
server role = standalone server
log file = /var/log/samba/%m
log level = 1
[testshare]
path = /home/smbuser/testshare
read only = no
guest ok = yes
guest only = yes
/home/smbuser/testshare:
drwxrwsrwx. 2 smbuser examplegroup 6 Sep 6 16:34 testshare
Firewalls are disabled on both sides.
Windows gives the error:
Windows cannot access
\\192.168.1.20\testshare
You do not have permission to access
\\192.168.1.20\testshare