Re: [Samba] guest access
- Date: Sat, 29 Dec 2018 10:26:36 +0000
- From: Rowland Penny via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] guest access
On Sat, 29 Dec 2018 13:41:50 +0330
sam zand <zand.nas.storage@xxxxxxxxx> wrote:
> I add 'map to guest = bad user' to [global] and 'guest ok = yes'
> and then try to connect to share. but it requests a username and
I did say it would be virtually impossible in an AD domain. 'man
smb.conf' has this to say about 'map to guest = bad user'
Bad User - Means user logins with an invalid password
are rejected, unless the username does not exist, in
which case it is treated as a guest login and mapped
into the guest account.
So a guest user has to be unknown, before they are mapped to guest, but
a user has to be known before they can log into a domain computer. This
means you are in a catch 22 position here.
To get guest access working, you will need to connect from a non-domain
member as a user unknown to AD, this sort of defeats the idea behind
To unsubscribe from this list go to the following URL and read the