pull up r19477 from trunk
authorTom Yu <tlyu@mit.edu>
Tue, 17 Apr 2007 23:09:26 +0000 (23:09 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 17 Apr 2007 23:09:26 +0000 (23:09 +0000)
commit98ab7c8652b46935083d122bcb65c530e9016ea0
treef0ccfdb9e2810f13fd1c4b64101db8ea44ad9081
parent072c6ebe52ff874e404f9232a7e21cb779e376cd
pull up r19477 from trunk

 r19477@cathode-dark-space:  jaltman | 2007-04-17 14:06:15 -0400
 ticket: 5532
 tags: pullup

 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
version_fixed: 1.6.1

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