+Fri Aug 25 17:40:52 EDT 1995 Paul Park (pjpark@mit.edu)
+ * srv_key.c - Fix automatic generation of changepw service which got
+ screwed up when the database changes went in.
+
+
Thu Aug 17 13:50:28 EDT 1995 Paul Park (pjpark@mit.edu)
* srv_key.c, kadm5_defs.h - Add key_{open,close}_db(). Close database
after initialization.
madmin_entry.princ = admin_principal;
madmin_entry.max_life = KEY_DEF_MAX_LIFE;
madmin_entry.max_renewable_life = KEY_DEF_MAX_RLIFE;
+ madmin_entry.len = KRB5_KDB_V1_BASE_LENGTH;
number_of_entries = 1;
krb5_timeofday(kcontext, &now);
}
mrand_init = 1;
- /*
- * We're almost home. We now want to find our service entry and if there
- * is none, then we want to create it. This way, kadmind5 becomes just
- * a plug in and go kind of utility.
- */
- kret = key_get_admin_entry(kcontext, debug_level);
-
if (!kret) {
if (key_num_ktents = nktent)
key_ktents = ktents;
key_ktents_inited = 1;
}
+ /*
+ * We're almost home. We now want to find our service entry and if there
+ * is none, then we want to create it. This way, kadmind5 becomes just
+ * a plug in and go kind of utility.
+ */
+ kret = key_get_admin_entry(kcontext, debug_level);
+
cleanup:
if (kret) {
if (mrand_init) {