Web lists-archives.com

Re: [Samba] unix_primary_group = yes don t work




On Wed, 6 Feb 2019 17:18:51 +0100
"L.P.H. van Belle via samba" <samba@xxxxxxxxxxxxxxx> wrote:

> Hmm, Yes Rowland it test also failed. 
> 
> id louis
> uid=10002(louis) gid=10000(domain users) groups=10000(domain
> users),27(sudo),10004(servers-ssh),10008(servers-www)
> 
> louis@mailhopper2:~$ getent passwd louis
> obell:*:10002:10000:L.P.H. van Belle:/home/users/louis:/bin/bash
> 
> The difference here is all my users have "Domain users" as primary
> group. Just like in windows, that the difference between our
> config/setups. 
> 

If your users have 'gidNumber: 10000' in their object and '10000' is
the gidNumber for 'Domain Users', then you do not actually need the
gidNumber in the users object and the 'unix_primary_group = yes' line
in smb.conf.

Rowland

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