Web lists-archives.com

Re: [Samba] Mapping user by ip address

In Session Global put this

map to guest = Bad User

   comment = Arquivos Publicos
   path = /home/Public
   read only = no
   writable = yes
   public = yes
   create mask = 777
   directory mask = 777
   force user = root
   force group = root
   browseable = yes

Em 05/10/18 13:48, Rowland Penny via samba escreveu:
On Fri, 5 Oct 2018 13:41:47 -0300
HugLeo via samba <samba@xxxxxxxxxxxxxxx> wrote:

Maybe I can make the group be everybody and negate access to everybody
group to the private folder so even if new files are created with
everybody group the others users will not access the private root

No, you need two shares, one with guest access and one denying guest
access. The second only accessible from certain hosts and by certain
users or groups.


To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba