Comment 67 for bug 32067

Revision history for this message
TomasHnyk (sup) wrote : Re: the security parameter must be set to share, not user, in smb.conf - Smb/Gnome sharing broken

Soren:also my apologies, I too always thought user = śhare is the only way. I googled a bit and found that it is indeed possible to have passwordless sharing with:
security = user
guest account = ok
#now this is the important bit that you too omitted, see here: http://lists.debian.org/debian-user/2000/12/msg03643.html
map to guest = Bad User # or Bad Passwords will do as well, Bad User seems better to me, see man smb.conf for details - otherwise it still asks for password.

Do you want me to open a bug against shares-admin aka nautilus-share then? Because I think we could just change the description of this bug ot not lose the history and the number of people interested in it, could not we? And frankly, I am not sure how this solution differs from security = share, so would it be considered at all?

Anyway, if it were to be considered, there is also a problem if one wants to have his shares writable. One solution is to put guest account = "owner of the folder" the other is to change permissions of the share folder (either 777 or owners nobody:nogroup will do), but that brings the problem that if a user (not samba user) creates a folder inside this shared folder, it has got ownership and permissions of that user, so it is impossible to write there through samba unless the permissions are manually changed.