Re: [Samba] 10 minutes between primary group change and effect on Fedora 27
- Date: Tue, 27 Mar 2018 10:35:11 -0600
- From: Jeff Sadowski via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] 10 minutes between primary group change and effect on Fedora 27
On Tue, Mar 27, 2018 at 10:03 AM, Jeff Sadowski <jeff.sadowski@xxxxxxxxx> wrote:
> On Tue, Mar 27, 2018 at 9:51 AM, Rowland Penny via samba
> <samba@xxxxxxxxxxxxxxx> wrote:
>> On Tue, 27 Mar 2018 09:36:49 -0600
>> Jeff Sadowski <jeff.sadowski@xxxxxxxxx> wrote:
>>> On Tue, Mar 27, 2018 at 9:15 AM, Rowland Penny <rpenny@xxxxxxxxx>
>>> > idmap config MIND:unix_primary_group = yes
>>> OK I added this line
>>> Is that not the default behavior?
>> See here:
> Ah now I can set them different I see I was changing both to be
> consistent anyways. This explains my testing about 2 weeks ago.
>>>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 ?
> I'll buy it being 5 minutes. It just seems a little longer but yeah
> 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
I tried setting "winbind cache time = 10"
and restarted winbindd
but it still seems to be about 5 minutes
> Ahh but, isn't "net cache flush" suppose to flush this instantly?
> Is there another command to flush instantly?
> If not I can tell my users to wait that isn't too too long.
>>> > This will only work from Samba 4.6.0
>>> Did you mean 4.6.0 and greater?
>> I thought that was what I said ;-)
>> To unsubscribe from this list go to the following URL and read the
>> instructions: https://lists.samba.org/mailman/options/samba
> Thank you Rowland you solved a lot of my mysteries
To unsubscribe from this list go to the following URL and read the