[Samba] idmap range and xidNumber

Rowland penny rpenny at samba.org
Thu Apr 16 06:30:06 UTC 2020


On 15/04/2020 22:33, Alexander Kushnirenko wrote:
> Hi, Rowland!
>
> Could you please help me with [users] share.  In Samba 4 they 
> recommend following setup:
Who are 'they' ? and where is this recommended ?
> [users]
>          path = /srv/samba/users/
>          read only = no
>          force create mode = 0600
>          force directory mode = 0700
>
> But if I understood correctly you recommended something like this:
> [users]
>   comment = Home
>   path = /home/%U
>   writable = yes
>   create mask = 0644
>
> Which way is better and how does it intersect with usershare path 
> definitions?

To be honest, I would recommend this:

[users]

path = /path/to/wherever/%U

read only = no

and then set the ACLs from windows.

Rowland






More information about the samba mailing list