summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Basch <probe@mit.edu>1996-04-13 03:42:08 +0000
committerRichard Basch <probe@mit.edu>1996-04-13 03:42:08 +0000
commit72cd1ee3386c496c1800b2d8d72d12ffc88ecadc (patch)
tree41adc8252e060f95808473e729e074314e5927aa
parent39b5545754d69d254f13ee52ea3dbbe5755774ce (diff)
Destroy any forwarded credentials when we cleanup. (They were stored in
an unusual location, so they are not likely to be reused by other sessions.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7810 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/appl/bsd/ChangeLog12
-rw-r--r--src/appl/bsd/krlogind.c4
2 files changed, 15 insertions, 1 deletions
diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog
index d786903a6..bb3b6d392 100644
--- a/src/appl/bsd/ChangeLog
+++ b/src/appl/bsd/ChangeLog
@@ -1,3 +1,10 @@
+Fri Apr 12 23:38:25 1996 Richard Basch <basch@lehman.com>
+
+ * krlogind.c (cleanup): Destroy any forwarded credentials at the
+ end of the login session (they were placed in an unusual location
+ anyway, so the chance that someone will be trying to reuse those
+ credentials is minimal)
+
Thu Apr 11 00:22:51 1996 Richard Basch <basch@lehman.com>
* kcmd.c: Cleaned up whitespace and removed commented & unused cruft
@@ -28,6 +35,11 @@ Mon Apr 1 10:12:44 1996 Richard Basch <basch@lehman.com>
on the variable usage in the code. Also, the tests for Solaris
were incorrect.
+Fri Mar 29 16:22:18 1996 Richard Basch <basch@lehman.com>
+
+ * kcmd.c, krlogin.c, krsh.c, krcp.c:
+ Allow for a proxy forwarder to be specified
+
Sat Mar 23 17:20:00 1996 Sam Hartman <hartmans@tertius.mit.edu>
* krcp.c (des_write): Use krb5_net_write instead of write, because
diff --git a/src/appl/bsd/krlogind.c b/src/appl/bsd/krlogind.c
index d78ab6fbc..6551192a3 100644
--- a/src/appl/bsd/krlogind.c
+++ b/src/appl/bsd/krlogind.c
@@ -994,8 +994,10 @@ protocol(f, p)
krb5_sigtype cleanup()
{
-pty_cleanup (line, pid, 1);
+ pty_cleanup (line, pid, 1);
shutdown(netf, 2);
+ if (ccache)
+ krb5_cc_destroy(bsd_context, ccache);
exit(1);
}