* unix.exp: use kadmin.local instead of kdb5_edit
authorBarry Jaspan <bjaspan@mit.edu>
Tue, 20 Aug 1996 17:35:13 +0000 (17:35 +0000)
committerBarry Jaspan <bjaspan@mit.edu>
Tue, 20 Aug 1996 17:35:13 +0000 (17:35 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8957 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/v4server/unit-test/config/ChangeLog
src/kadmin/v4server/unit-test/config/unix.exp
src/kadmin/v4server/unit-test/v4server.1/change-password.exp

index aa01abc17fcfb0e863b4f1fba72e2d2d44e2cad6..ef27f8d69f72ba63dcff2451483e7d8ed8b175c1 100644 (file)
@@ -1,3 +1,7 @@
+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
index 874092311edb08c4025f643fc7dc62fe60170440..c27b3c339e526562e2931638e0656137d65518fb 100644 (file)
@@ -11,7 +11,6 @@ if {[file exists /bin/sleep]} {
 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
index 62b9ec30a861270d7a610386aa7509bac7d8c08e..cc8e08406889883473ef1f3fcba0d772a1a852a5 100644 (file)
@@ -47,8 +47,9 @@ kpasswd_v4 CPW.6 pol1 -1 polAAAAAA pol111111 {
        "$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." {}