From 670b260aac64048286e82850e312de962d4890bb Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 13 Jun 1995 00:08:35 +0000 Subject: [PATCH] (kdc_process_tgs_req): Set the auth_context rcache to null before freeing auth_context. This keeps the rcache valid (to be close elsewhere) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6044 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/ChangeLog | 6 ++++++ src/kdc/kdc_util.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index c3af5a655..cfe9ef4fe 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,9 @@ +Mon Jun 12 20:01:23 1995 Ezra Peisach + + * kdc_util.c (kdc_process_tgs_req): Set the auth_context rcache to + null before freeing auth_context. This keeps the rcache + valid. + Sat Jun 10 23:04:31 1995 Tom Yu (tlyu@dragons-lair) * kdc_util.c: krb5_auth_context redefinitions diff --git a/src/kdc/kdc_util.c b/src/kdc/kdc_util.c index f96282b82..abd7ea8b0 100644 --- a/src/kdc/kdc_util.c +++ b/src/kdc/kdc_util.c @@ -293,6 +293,8 @@ cleanup_authenticator: krb5_free_authenticator(kdc_context, authenticator); cleanup_auth_context: + /* We do not want the fre of the auth_context to close the rcache */ + (void) krb5_auth_con_setrcache(kdc_context, auth_context, 0); krb5_auth_con_free(kdc_context, auth_context); cleanup: -- 2.26.2