[Samba] [4.5.12] "guest account" doesn't work
codecomplete at free.fr
Wed May 9 12:07:12 UTC 2018
Until now, I let Samba use nobody:nogroup to access shares from Windows
with no account in Samba.
I wanted to try the "guest account" option to tell it to use a specific
Unix account… but it fails with "Access denied". The solution is to
either give up on the "guest account" directive, or add "force user" to
the share. Why is that?
security = USER
map to guest = Bad User
guest account = www-data
;/myshare is rwx for www-data
path = /myshare
guest ok = Yes
read only = No
FWIW, it's Samba 4.5.12 running on Debian 9.4.
More information about the samba