Mandi! Rowland penny via samba In chel di` si favelave...> > Considering a 'full offline' DM client (supposing a portable), there's > > a 'winbind permanent nss cache' or a general nss cache (like > > nss-updatedb): > > https://wiki.debian.org/LDAP/NSS#Offline_caching_of_NSS_with_nscd > > have to be used? Thanks. > No, you cannot use winbind with nscd, winbind has its own cache.Ah! Citing links without opening it... evidently Debian wiki page get changed. I was speaking about nss-updatedb, sorry. https://www.padl.com/OSS/nss_updatedb.html Anyway... i know about winbind cache, but i suppose is non-permanent (eg, if i shutdown the system, cache get lost). There's some way to have 'permanend winbind cache', or someone have some positive feedback about winbind/permament offline cache systems like nss_updatedb? 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)
On 17/10/2019 10:32, Marco Gaiarin via samba wrote:> Mandi! Rowland penny via samba > In chel di` si favelave... > >>> Considering a 'full offline' DM client (supposing a portable), there's >>> a 'winbind permanent nss cache' or a general nss cache (like >>> nss-updatedb): >>> https://wiki.debian.org/LDAP/NSS#Offline_caching_of_NSS_with_nscd >>> have to be used? Thanks. >> No, you cannot use winbind with nscd, winbind has its own cache. > Ah! Citing links without opening it... evidently Debian wiki page get > changed. I was speaking about nss-updatedb, sorry. > > https://www.padl.com/OSS/nss_updatedb.html > > > Anyway... i know about winbind cache, but i suppose is non-permanent > (eg, if i shutdown the system, cache get lost).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> > > There's some way to have 'permanend winbind cache', or someone have > some positive feedback about winbind/permament offline cache systems > like nss_updatedb?Yes, get the cache made permanent again ;-) I am stuck on 4.8.x until this gets fixed :-( Rowland
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)
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 > >