In testing it has been observed that remote desktop connections
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 17 Apr 2007 18:06:15 +0000 (18:06 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 17 Apr 2007 18:06:15 +0000 (18:06 +0000)
commit6e0fcb6312775f242a98da89dfb6db05d1381eb4
tree79efab3e115421cf097f2aa0b52a79cc1dad9344
parent3c6941dd292b0e72dc5d21dc0d0dedd249de716a
In testing it has been observed that remote desktop connections
will execute the NPLogonNotify function but if the logon is
re-connecting to an existing session, the LogonScript is ignored.
This leaves orphaned credential cache files.

This commit adds a function, KFW_cleanup_orphaned_caches, which
is called by NPLogonNotify to delete any orphaned cache files.
An orphaned cache file is one that is older than five minutes.

ticket: 5532
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19477 dc483132-0cff-0310-8789-dd5450dbe970
src/windows/kfwlogon/kfwcommon.c
src/windows/kfwlogon/kfwlogon.c
src/windows/kfwlogon/kfwlogon.h