[Samba] Best practice to import folders to Samba?

Rowland penny rpenny at samba.org
Thu Jun 3 12:51:08 UTC 2021

On 03/06/2021 13:33, L.P.H. van Belle via samba wrote:
>   Hai Anders,
> So where does "domain users" come from, well, its the default group 
> all windows users are in.
> In smb.conf (where i use backend AD) i use :
> ## get primary group from unix primary group )
> idmap config ADDOM : unix_primary_group = yes
> Not sure if you need that also if you use RID backend.

You only need that if you DO NOT want 'Domain Users' to be a user's Unix 
primary group and the user must have a gidNumber attribute containing 
the GID of the group to use instead.


More information about the samba mailing list