* stop_servers_local: Set KRB5RCACHEDIR. Use the correct filename when
deleting the replay cache file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15434
dc483132-0cff-0310-8789-
dd5450dbe970
+2003-05-13 Ken Raeburn <raeburn@mit.edu>
+
+ * start_servers_local: Set KRB5RCACHEDIR.
+ * stop_servers_local: Set KRB5RCACHEDIR. Use the correct filename
+ when deleting the replay cache file.
+
2003-01-07 Ken Raeburn <raeburn@mit.edu>
* Makefile.ov: Deleted.
DUMMY=${SRVTCL=$TESTDIR/util/ovsec_kadm_srv_tcl}; export SRVTCL
DUMMY=${LOCAL_MAKE_KEYTAB=$TESTDIR/scripts/make-host-keytab.pl}
DUMMY=${STOP_SERVERS_LOCAL=$STESTDIR/scripts/stop_servers_local}
+DUMMY=${KRB5RCACHEDIR=$TESTDIR} ; export KRB5RCACHEDIR
if [ -d /usr/tmp ]; then
usrtmp=/usr/tmp
DUMMY=${TESTDIR=$TOP/testing}
DUMMY=${RESTORE_FILES=$TESTDIR/scripts/restore_files.sh}
+DUMMY=${KRB5RCACHEDIR=$TESTDIR}
v4files=false
while [ $# -gt 0 ] ; do
# 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
+if test "x$USER" = x ; then
+ USER=$LOGNAME
+fi
+rm -f $KRB5RCACHEDIR/krb5kdc_rcache.$USER
# restore saved system config files
if $v4files; then