Hi,
in our flat share that username & password stuff makes little sense. So I edited smb.conf for some shares that everyone in our network should be able to access.
I added two lines to the [global] section:
Code:
[global]
map to guest = Bad User
usershare allow guests = Yes
And edited some shares a little...
This is a share with read access:
Code:
[music]
comment = music on my desktop
path = /home/me/music/
create mask = 0700
directory mask = 0700
guest ok = yes
A share with write permissions:
Code:
[transfer]
comment = writeable
inherit acls = Yes
inherit permissions = Yes
path = /home/me/Transfer/
public = Yes
directory mask = 0777
create mask = 0666
browseable = Yes
guest ok = Yes
writeable = Yes
force user = me
To make sure that files transferred to your writeable share via smb are yours, use the force user option. Otherwise files sent to that share will belong to user nobody.
Well...that code does not look nice but it works - at least for me. And I'm still learning.
Bookmarks