[Samba] cannot set share permissions

Rowland Penny rpenny at samba.org
Thu Apr 26 15:53:04 UTC 2018


On Thu, 26 Apr 2018 15:32:56 +0000
Waishon via samba <samba at lists.samba.org> wrote:

> Hi,
> 
> so you would like to restrict the access to the share definitions?
> E.g. only "User1" should be able to access the Share "Private"?
> 
> Have you had a look at this documentation?
> https://www.samba.org/samba/docs/using_samba/ch09.html
> (This doc is quite old but should still apply).
> 
> We're running a seperate fileserver which is joined to the SAMDOM DC.
> Then we're using valid users = @"SAMDOM\Domain Users"
> to make sure that only domain members are able to access the share.
> Instead of Domain Users it's also possible to just use a group or a
> specific user.
> 
> Hope that helps.
> 

I don't think it does ;-)

I think the OP is asking the 'share' tab on windows, this doesn't have
anything to do with what you have posted.

The main tab the OP should be worried about is the 'security' tab (for
which a better name would 'NTFS permissions').

Can I also point out that you shouldn't be using any of the old
documentation when it comes to a Samba AD DC, you should be reading
this:

https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs

Where it clearly states 'Samba does not support using POSIX ACLs on a
DC. You must use Windows ACLs.'

Rowland





More information about the samba mailing list