I have been experimenting with samba lately as i have came back to archlinux(manjaro) after a month with linux mint. I am using samba, as nfs had pops and clicks. In linux mint it was extremely easy to setup a samba share just sharing the folder from nemo file manager.
Back to archlinux, i have tried several configurations and the only one worked is the one below:
security = user
map to guest = Bad User
log file = /var/log/samba/%m.log
max log size = 50
path = /home/blabla/Music
read only = yes
public = yes
writable = no
force user = root
guest ok = yes[/code]
When I remove the line “force user = root”, my samba share fails to mount and i really cannot understand why. I have added the bad user option and i just need a passwordless, read only, seen by everyone in the network samba share. The next step is to create a volumio user with password, but let’s figure out the easy way first!
Although i have set it up and it’s working flawlessly at the moment, any idea on how i will change the smb.conf to a more correct way is highly appreciated.