+Tue Aug 20 13:34:07 1996 Barry Jaspan <bjaspan@mit.edu>
+
+ * unix.exp: use kadmin.local instead of kdb5_edit
+
Mon Jul 15 17:18:56 1996 Marc Horowitz <marc@mit.edu>
* unix.exp: some versions of runtest do not like digits in
set kpasswd_v4 /usr/athena/bin/kpasswd
set ovpasswd $env(TOP)/kpasswd/kpasswd
set kadmin_local $env(TOP)/cli/kadmin.local
-set kdb5_edit $KDBFIVE_EDIT
set remove_changepw_perms ./remove_changepw_perms.sh
set getpid ./getpid.sh
set ovsec_adm_server $env(TOP)/server/kadmind
"$kpasswd_v4: Insecure password rejected while attempting to change password." { send "\003\n"; close; break }
}
-# this relies on the fact that kdb5_edit resets last_pwd_change, which
-# it appears to
+# We used to use kdb5_edit, which reset last_pwd_change. Now we used
+# kadmin.local, which doesn't, so we have to wait out the min life.
+exec $sleep 30
kpasswd_v4 CPW.7.setup pol2 0 pol222222 polBBBBBB { "Password changed." {} }
kpasswd_v4 CPW.7 pol2 -1 polBBBBBB pol222222 {
"Password cannot be changed because it was changed too recently." {}