From aa1af5631b322b963e739ce90b44fb1dc1d03fe7 Mon Sep 17 00:00:00 2001 From: Barry Jaspan Date: Mon, 23 Sep 1996 19:39:37 +0000 Subject: [PATCH] * stop_servers_local: delete krb5kdc_rcache after stopping kdc * 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 | 6 ++++++ src/kadmin/testing/scripts/Makefile.ov | 5 ++++- src/kadmin/testing/scripts/stop_servers_local | 4 ++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/kadmin/testing/scripts/ChangeLog b/src/kadmin/testing/scripts/ChangeLog index 6ccb212a7..926b918ed 100644 --- a/src/kadmin/testing/scripts/ChangeLog +++ b/src/kadmin/testing/scripts/ChangeLog @@ -1,3 +1,9 @@ +Mon Sep 23 15:38:58 1996 Barry Jaspan + + * 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 * make-host-keytab.pl.in: use kadmin instead of kadm5_keytab diff --git a/src/kadmin/testing/scripts/Makefile.ov b/src/kadmin/testing/scripts/Makefile.ov index 335b636e7..7f70238c0 100644 --- a/src/kadmin/testing/scripts/Makefile.ov +++ b/src/kadmin/testing/scripts/Makefile.ov @@ -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 diff --git a/src/kadmin/testing/scripts/stop_servers_local b/src/kadmin/testing/scripts/stop_servers_local index c0a97ef27..5328e97a6 100644 --- a/src/kadmin/testing/scripts/stop_servers_local +++ b/src/kadmin/testing/scripts/stop_servers_local @@ -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 -- 2.26.2