[Samba] Fwd: Force set group id on samba domain member

Rowland Penny rpenny at samba.org
Thu Jul 26 07:16:10 UTC 2018


On Wed, 25 Jul 2018 23:25:05 +0200
Michal <Michal67M at seznam.cz> wrote:
 
> I do not know If I get what you mean..
> 
> # su - amistest
> Last login: Tue Jul 24 22:48:18 CEST 2018 on pts/4
> -bash-4.2$ id
> uid=6603(NIS\amistest) gid=20(games) groups=20(games),513(NIS\domain
> users),2108(NIS\evis),2109(NIS\slp),2126(NIS\poj),2157(NIS\audio),2164(NIS\doprava),2181(NIS\tomocon),2186(NIS\pacs_diagnostik),10001(BUILTIN\users)
> 
> It is "gid=20(games)", not  "gid=20(NIS\games)". gid 20 games comes
> from OS local /etc/group. It seems to me to be exactly what I would
> expected. Winbind did not do domain name translation of group 20,
> because it is not within domain range, thats ok, isn't it?
> 

What I am trying to get at is, the users primary group should come from
AD, yours appears to be coming from /etc/group, this is what I do not
understand.

Rowland



More information about the samba mailing list