Donnerstag, Juli 01, 2010

samba mount without user account

It is not possible to mount a samba share without an user account on the server, even with the share set to public = yes. The reason and how to fix this is described here.

in short add/change smb.conf:

[global]

guest account = nobody
map to guest = bad user

[public]

comment = common downloads
browseable = no
path = /mnt/hd/location
public = yes
read only = yes