Mandi! Rowland penny via samba In chel di` si favelave...> Yes, somebody moved the cache to a different directory and it now gets wiped > every time Samba is restarted, we have a bug report for it:? > https://bugzilla.samba.org/show_bug.cgi?id=14074Ok, thanks. I suppose that cache get controlled by: idmap cache time = 604800 winbind cache time = 300 so, for a portable system, i have to increase that number, eg to: idmap cache time = 7776000 winbind cache time = 7776000 (90 days). Right? -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bont?, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
On 17/10/2019 14:04, Marco Gaiarin via samba wrote:> Mandi! Rowland penny via samba > In chel di` si favelave... > >> Yes, somebody moved the cache to a different directory and it now gets wiped >> every time Samba is restarted, we have a bug report for it: >> https://bugzilla.samba.org/show_bug.cgi?id=14074 > Ok, thanks. > > I suppose that cache get controlled by: > > idmap cache time = 604800 > winbind cache time = 300 > > so, for a portable system, i have to increase that number, eg to: > > idmap cache time = 7776000 > winbind cache time = 7776000 > > (90 days). Right? >Don't think that will work, unless you never turn the computer off or restart Samba. The problem isn't how often the cache gets updated, it is 'does the cache exist' Rowland
Mandi! Rowland penny via samba In chel di` si favelave...> Don't think that will work, unless you never turn the computer off or > restart Samba. > The problem isn't how often the cache gets updated, it is 'does the cache > exist'Ahem, sorry, no... i was not speaking 'now', but 'when bug 14074 get fixed'. So, supposing the bug that delete the cache on reboot get fixed, i have to set very high the cache retention period to be effective, right? Or in absence of every DC reachable, cache by default does not expire? Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bont?, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
Ow forgot to mention, i also rebooted the servers. And gencache.tdb is still there. So looks fixed. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > L.P.H. van Belle via samba > Verzonden: donderdag 17 oktober 2019 16:01 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Offline logon and NSS... > > Now, tested this on a 4.10.8 on 2 servers. > > Server 1, only winbind running. > Server 2, winbind and smbd running. > > Server 1, restarted winbind, cache file gencache.tdb is not wiped. > Server 2, restarted smbd, cache file gencache.tdb is not wiped. > > Marco, are you able to test this on a buster machine with > samba 4.10.8. > Im building a 4.10.9 atm. > > > Greetz, > > Louis > > > > > -----Oorspronkelijk bericht----- > > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > > Marco Gaiarin via samba > > Verzonden: donderdag 17 oktober 2019 15:04 > > Aan: samba at lists.samba.org > > Onderwerp: Re: [Samba] Offline logon and NSS... > > > > Mandi! Rowland penny via samba > > In chel di` si favelave... > > > > > Yes, somebody moved the cache to a different directory and > > it now gets wiped > > > every time Samba is restarted, we have a bug report for it:? > > > https://bugzilla.samba.org/show_bug.cgi?id=14074 > > > > Ok, thanks. > > > > I suppose that cache get controlled by: > > > > idmap cache time = 604800 > > winbind cache time = 300 > > > > so, for a portable system, i have to increase that number, eg to: > > > > idmap cache time = 7776000 > > winbind cache time = 7776000 > > > > (90 days). Right? > > > > -- > > dott. Marco Gaiarin GNUPG > > Key ID: 240A3D66 > > Associazione ``La Nostra Famiglia'' > > http://www.lanostrafamiglia.it/ > > Polo FVG - Via della Bont?, 7 - 33078 - San Vito al > > Tagliamento (PN) > > marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 > > f +39-0434-842797 > > > > Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! > > http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 > > (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/options/samba > > > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >