Árpád Magosányi
2009-May-29 07:28 UTC
[Samba] feature request: winbind use cached credentials more agressively
Hi! Winbind is rather suboptimally reacts to networking changes. I use my notebook in at least 3 different network settings, in one of them I have very probabilistic access to DCs (cisco vpn client is a crap). An nss lookup sometimes takes very looong, sometimes even returns failure. Sometimes I have to login as root and restart winbind to get to my X session past the screensaver. This is far from production quality. I guess the end-user feeling could be heightened by using cached credentials more agressively. As wast majority of nss lookups are for data already obtained, it might be wise to serve it from cache, and refresh it asynchronously.
Volker Lendecke
2009-May-31 07:54 UTC
[Samba] feature request: winbind use cached credentials more agressively
Hi! On Fri, May 29, 2009 at 09:28:33AM +0200, ?rp?d Magos?nyi wrote:> Winbind is rather suboptimally reacts to networking changes. > I use my notebook in at least 3 different network settings, in one of them I > have very probabilistic access to DCs > (cisco vpn client is a crap). > An nss lookup sometimes takes very looong, sometimes even returns failure. > Sometimes I have to login as root and restart winbind to get to my X session > past the screensaver. This is far from production quality. > > I guess the end-user feeling could be heightened by using cached credentials > more agressively. As wast majority of nss lookups are for data already > obtained, it might be wise to serve it from cache, and refresh it > asynchronously.Just to make sure: You're fully right and this is not dropped. Right now I'm looking at winbind again, but it will be a longer-term task. Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20090531/b7b96dd5/attachment.bin