From 490c771d60d1cad1afd00a58ca60a6e2259b5959 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Wed, 12 Nov 1997 20:09:19 +0000 Subject: [PATCH] * do_as_req.c (process_as_req): Reset master key after closing and reopening DB when KDC_UPDATES_KDB compiled in. [krb5-kdc/495 by Tony Mione] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10276 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/ChangeLog | 6 ++++++ src/kdc/do_as_req.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index c9888f488..c7f025430 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,9 @@ +Wed Nov 12 14:47:46 1997 Ezra Peisach + + * do_as_req.c (process_as_req): Reset master key after closing and + reopening DB when KDC_UPDATES_KDB compiled + in. [krb5-kdc/495 by Tony Mione] + Mon Nov 10 20:03:14 1997 Theodore Y. Ts'o * kdc_util.c (kdc_process_tgs_req): If not using the reply cache, diff --git a/src/kdc/do_as_req.c b/src/kdc/do_as_req.c index e57168027..22d5b1b56 100644 --- a/src/kdc/do_as_req.c +++ b/src/kdc/do_as_req.c @@ -457,6 +457,8 @@ errout: krb5_db_set_name(kdc_active_realm->realm_context, kdc_active_realm->realm_dbname); krb5_db_init(kdc_context); + /* Reset master key */ + krb5_db_set_mkey(kdc_context, &kdc_active_realm->realm_encblock); } #endif /* KRBCONF_KDC_MODIFIES_KDB */ krb5_db_free_principal(kdc_context, &client, c_nprincs); -- 2.26.2