* stop_servers_local: delete krb5kdc_rcache after stopping kdc
authorBarry Jaspan <bjaspan@mit.edu>
Mon, 23 Sep 1996 19:39:37 +0000 (19:39 +0000)
committerBarry Jaspan <bjaspan@mit.edu>
Mon, 23 Sep 1996 19:39:37 +0000 (19:39 +0000)
* Makefile.ov: create restore_files.sh as symlink to save_files.sh

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9106 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/testing/scripts/ChangeLog
src/kadmin/testing/scripts/Makefile.ov
src/kadmin/testing/scripts/stop_servers_local

index 6ccb212a724650c2123f88fd35898659b4f5caee..926b918edc6a41475c42b1636bcaaaed285d3b1e 100644 (file)
@@ -1,3 +1,9 @@
+Mon Sep 23 15:38:58 1996  Barry Jaspan  <bjaspan@mit.edu>
+
+       * stop_servers_local: delete krb5kdc_rcache after stopping kdc
+
+       * Makefile.ov: create restore_files.sh as symlink to save_files.sh
+
 Wed Sep 11 17:01:06 1996  Barry Jaspan  <bjaspan@mit.edu>
 
        * make-host-keytab.pl.in: use kadmin instead of kadm5_keytab
index 335b636e7e65aef53e07febeb2db4a94cfbdf63d..7f70238c0797e944c40d127bf406ae68ead1795d 100644 (file)
@@ -6,7 +6,10 @@ include $(TOP)/config.mk/template
 GEN_SCRIPTS = compare_dump.pl fixup-conf-files.pl make-host-keytab.pl \
        simple_dump.pl verify_xrunner_report.pl
 
-all:: $(GEN_SCRIPTS)
+all:: $(GEN_SCRIPTS) restore_files.sh
+
+restore_files.sh:
+       ln -s save_files.sh restore_files.sh
 
 %.pl: %.pl.in
        -rm -f $@.tmp
index c0a97ef271febfd2da309589c81849cdd3a5a313..5328e97a685d5d4d1ae96d67c9aaaa490cf87ce4 100644 (file)
@@ -43,6 +43,10 @@ for pid in xxx \
        esac
 done
 
+# Destroy the kdc replay cache so we don't lose if we try to run the
+# KDC as another unix user.
+rm -f /usr/tmp/krb5kdc_rcache
+
 # restore saved system config files
 if $v4files; then
        $RESTORE_FILES $start_servers