+Thu Apr 27 17:05:54 EDT 1995 Paul Park (pjpark@mit.edu)
+
+ Update last_pwd_change, mod_name and kvno when changing password
+ successfully.
+
Wed Apr 26 16:00:00 EDT 1995 Paul Park (pjpark@mit.edu)
Add new administrative protocol server which only responds to
&entry2write.alt_key))
goto cleanup;
- /* Set the time */
- if (kret = krb5_timeofday(kcontext, &entry2write.mod_date))
+ /* Set the time for last successful password change */
+ if (kret = krb5_timeofday(kcontext, &entry2write.last_pwd_change))
goto cleanup;
+ /* Set entry modifier and modification time. */
+ entry2write.mod_name = princ;
+ entry2write.mod_date = entry2write.last_pwd_change;
+
+ /* Update the kvno */
+ entry2write.kvno++;
+
/* Salt? */
/* Now write the entry */