[Samba] Password-less Share on a Samba DC

Tiago Dias tiago.dias at posteo.net
Wed Feb 5 07:13:40 MST 2014


I see, it's unsolvable for now then. I'll keep an eye on the project 
changes, for now I'll use the users.

Andrew Bartlett wrote:
> On Tue, 2014-02-04 at 15:16 +0000, Tiago Dias wrote:
>> Hello
>>
>> I am setting up a samba 4 DC in my home server, and I have multiple
>> shares I want to only be accessed after username/password input, and
>> those are working fine. However, I also want to have one share that can
>> be accessed by anyone in the network, without entering any credentials.
>> I searched around the internet and found that I could use "security =
>> user" and "map to guest = Bad User", but when I try to access the share
>> from a Windows client I still get the credentials popup, and can only
>> see the share by either entering a real username and password or "\" in
>> the username field and leaving the password blank.
>>
>> Is there any way to have the share working the way I want it?
>
> The issue is that 'map to guest = bad user' isn't hooked in to the AD DC
> code.  There was a patch to implement it, based on the guest account (as
> windows does), but I didn't review it positively and I need to find and
> remember why I didn't like it.
>
> So currently this is incompatible with being an AD DC.
>
> Sorry,
>
> Andrew Bartlett
>


More information about the samba mailing list