[Samba] Mapping user by ip address

DarkZad darkzad at yahoo.com.br
Fri Oct 5 20:56:35 UTC 2018


In Session Global put this

map to guest = Bad User

[PUBLIC]
    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 at lists.samba.org> 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
>> folder.
>>
> 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.
>
> Rowland
>    
>




More information about the samba mailing list