[Samba] Winbind missing secondary groups

Rowland Penny rpenny at samba.org
Fri Jul 29 16:32:06 UTC 2022


On Fri, 2022-07-29 at 18:15 +0200, Ralph Boehme via samba wrote:
> On 7/29/22 02:30, Luc Lalonde via samba wrote:
> > I found the culprit!
> > 
> > I removed this line from my /etc/nsswitch.conf:
> > 
> > initgroups = files
> > 
> > My secondary groups magically appeared when I typed ‘id’.
> 
> omg, that one... we even have this mentioned in the wiki. Not sure, 
> Rowland, was it you who added it? Could as well have been me as I 
> remember having run into this a while ago.
> 
> https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member
> 
> Search for initgroups...
> 
> -slow

No, that was you, I have never set initgroups in nsswitch.conf, so
never thought about it.

Just goes to show, always RTFM :-)

Rowland





More information about the samba mailing list