On 17/11/11 12:05, John Hughes wrote: > On 17/11/11 02:38, Jeff Layton wrote: >> Note too that the gssd code distinguishes between an expired TGT and a >> non-existent credcache. The latter will give you the error you desire >> here. So one possibility is just to remove the credcache from /tmp in >> this situation. > > Something to scan /tmp for expired credentials and zap em? rpc.gssd > would communicate that to the kernel? > > Whadaya know, that works. Here's a dumb perl script that could be run from, for example, .xsession to automatically destroy expired ticket caches. Would need a bit of trickery to make it go away on end of session and something in /etc/pm/sleep.d to send it a SIGALRM when the system wakes from suspend or hibernate. It has a potential race between destroying an expired ticket and a new ticket being granted. I guess now I'll look at a hack to rpc.gssd for a neater way of doing this.