From: Ken Raeburn Date: Thu, 19 Dec 2002 01:53:29 +0000 (+0000) Subject: * init_db (qualname): If "kdb5_util create" fails, exit X-Git-Tag: krb5-1.3-alpha1~219 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d62e2f08e4257d005be10acd429ddd30fadb82e7;p=krb5.git * init_db (qualname): If "kdb5_util create" fails, exit git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15055 dc483132-0cff-0310-8789-dd5450dbe970 --- 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