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
+Wed Nov 12 14:47:46 1997 Ezra Peisach <epeisach@mit.edu>
+
+ * 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 <tytso@mit.edu>
* kdc_util.c (kdc_process_tgs_req): If not using the reply cache,
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);