Re: [Samba] can't write Samba share as anonymous
- Date: Wed, 23 Jan 2019 16:55:24 +0000
- From: Rowland Penny via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] can't write Samba share as anonymous
On Wed, 23 Jan 2019 17:40:33 +0100
Andrea Cucciarre' <acucciarre@xxxxxxxxxxxx> wrote:
> I'm not sure I have understood, I'm mounting the share as "urca"
> user, which is not a known user.
Yes, but that isn't who is connecting, that is who is mounting the
You should be mounting the share as I known user.
> Although I'm setting smb.conf so that for guest user it uses the
> privileges of the known user "andrea"
This is where it goes really pear-shaped, you have made the guest user
'andrea' (who presumably has a password and isn't 'urca'), this is
somewhat akin to using 'valid user = andrea' in the share and you
cannot use 'valid user' with 'guest ok = yes'
> Could you please advice on what I should set for "guest account" in
Just remove the 'guest account' line, it will then use your OS's
guest user, probably 'nobody'
Just mount the directory, that you want to share, with a known user
and then connect to the share, via Samba, with a user that is unknown
to Samba or the OS.
To unsubscribe from this list go to the following URL and read the