[Samba] Samba­4: Setti­ng u­p share/­se­curity pe­rmiss­ions

L.P.H. van Belle belle at bazuin.nl
Wed Oct 22 01:23:31 MDT 2014


LOL. 

Volker wrote... so why not useing username map 
So 2 samba dev-s are saying different things..  :-/ 


> On Mon, Jul 22, 2013 at 01:24:52AM -0700, Paul D. DeRocco wrote:
> > > From: Volker Lendecke [mailto:Volker.Lendecke at SerNet.DE] 
> > > 
> > > There is also the "username map" parameter, using which you
> > > can for example say
> > > 
> > > username map = /etc/samba/usermap
> > > 
> > > and then open a file named /etc/samba/username with a single
> > > line containing
> > > 
> > > root = *
> > 
> > That looks like just the ticket. But I still need to know 
> which of the
> > following three things is true:
> > 
> > 1) I can rely on Unix authentication and not even bother 
> with SMB passwords,
> > if I don't mind telling the clients the local root password.
> > 
> > 2) I can use smbpasswd to assign a different client 
> password, so I can keep
> > the local root password secret from the clients.
> > 
> > 3) I must use smbpasswd and assign the same password as the 
> local root
> > password.
> 
> 2) is correct. 




>-----Oorspronkelijk bericht-----
>Van: steve at steve-ss.com [mailto:samba-bounces at lists.samba.org] 
>Namens steve
>Verzonden: woensdag 22 oktober 2014 8:13
>Aan: samba at lists.samba.org
>Onderwerp: Re: [Samba] Samba­4: Setti­ng u­p share/­se­curity 
>pe­rmiss­ions
>
>On 21/10/14 22:33, Rowland Penny wrote:
>> On 21/10/14 20:49, steve wrote:
>>> On 21/10/14 21:42, ?icro MEGAS wrote:
>>>
>>>>
>>>> a samba-dev suggested me *NOT* to use "username map"
>>>
>>> rofl. Then you must *NOT* use it.
>>>
>> I would love to know who that dev was, 'username map' is a 
>valid entry,
>> you can even map every member of Domain Users to the root user!
>>
>> Rowland
>>
>Rowland please. GOD has spoken. Repeat: You must *NOT* use "username 
>map". Have you got that now?!
>Thanks for cheering up our day,
>  Steve
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba
>
>



More information about the samba mailing list