From d62e2f08e4257d005be10acd429ddd30fadb82e7 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 19 Dec 2002 01:53:29 +0000 Subject: [PATCH] * init_db (qualname): If "kdb5_util create" fails, exit git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15055 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/testing/scripts/ChangeLog | 2 ++ src/kadmin/testing/scripts/init_db | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/kadmin/testing/scripts/ChangeLog b/src/kadmin/testing/scripts/ChangeLog index 7fb6f176e..88fb82ff3 100644 --- a/src/kadmin/testing/scripts/ChangeLog +++ b/src/kadmin/testing/scripts/ChangeLog @@ -1,5 +1,7 @@ 2002-12-18 Ken Raeburn + * init_db (qualname): If "kdb5_util create" fails, exit. + * env-setup.shin: Set KRB5CCNAME to something under $K5ROOT. 2002-10-30 Ken Raeburn diff --git a/src/kadmin/testing/scripts/init_db b/src/kadmin/testing/scripts/init_db index aac473677..bc7ac216e 100644 --- a/src/kadmin/testing/scripts/init_db +++ b/src/kadmin/testing/scripts/init_db @@ -71,7 +71,7 @@ sed -e "s/__REALM__/$REALM/g" -e "s#__K5ROOT__#$K5ROOT#g" \ sed -e "s/__REALM__/$REALM/g" -e "s#__K5ROOT__#$K5ROOT#g" \ < $STESTDIR/proto/kdc.conf.proto > $K5ROOT/kdc.conf -eval kdb5_util -r $REALM create -P mrroot -s $REDIRECT +eval kdb5_util -r $REALM create -P mrroot -s $REDIRECT || exit 1 cp $STESTDIR/proto/ovsec_adm.dict $K5ROOT/ovsec_adm.dict -- 2.26.2