+Wed Jul 30 18:27:36 1997 Tom Yu <tlyu@mit.edu>
+
+ * kdb5_mkdums.c: Update to match reality of libkdb, so that it
+ actually works.
+
Tue Feb 18 18:20:14 1997 Richard Basch <basch@lehman.com>
* kdb5_mkdums.c (add_princ):
goto error;
}
- { /* Add mod princ to db entry */
- krb5_tl_mod_princ mod_princ;
+ {
+ /* Add mod princ to db entry */
+ krb5_int32 now;
- mod_princ.mod_princ = master_princ;
- if (retval = krb5_timeofday(context, &mod_princ.mod_date)) {
+ retval = krb5_timeofday(context, &now);
+ if (retval) {
com_err(progname, retval, "while fetching date");
goto error;
- }
- if(retval=krb5_dbe_encode_mod_princ_data(context,&mod_princ,&newentry)){
+ }
+ retval = krb5_dbe_update_mod_princ_data(context, &newentry, now,
+ master_princ);
+ if (retval) {
com_err(progname, retval, "while encoding mod_princ data");
goto error;
}