[Samba] 10 minutes between primary group change and effect on Fedora 27

Rowland Penny rpenny at samba.org
Tue Mar 27 15:51:30 UTC 2018


On Tue, 27 Mar 2018 09:36:49 -0600
Jeff Sadowski <jeff.sadowski at gmail.com> wrote:

> On Tue, Mar 27, 2018 at 9:15 AM, Rowland Penny <rpenny at samba.org>
> >
> > idmap config MIND:unix_primary_group = yes
> OK I added this line
> Is that not the default behavior? 

No
See here:
https://wiki.samba.org/index.php/Samba_4.6_Features_added/changed#winbind_primary_group_and_nss_info

>It seemed to work after ten minutes like I wanted. 
> I just wanted to speed up by flushing the cache or something.

Are you sure it isn't about 5 minutes ?

There is the default setting in smb.conf: winbind cache time = 300
This is the default time (in seconds) to cache user & group info

> >
> > This will only work from Samba 4.6.0
> Did you mean 4.6.0 and greater?

I thought that was what I said ;-)

Rowland



More information about the samba mailing list