diff options
author | Ken Raeburn <raeburn@mit.edu> | 2002-12-19 01:53:29 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2002-12-19 01:53:29 +0000 |
commit | d62e2f08e4257d005be10acd429ddd30fadb82e7 (patch) | |
tree | 7d9b06fc740cd4b0051d9f3a095381968a7bee52 | |
parent | 653cdef581ccf19fe6761df97639f61ad6c3aedb (diff) | |
download | krb5-d62e2f08e4257d005be10acd429ddd30fadb82e7.tar.gz krb5-d62e2f08e4257d005be10acd429ddd30fadb82e7.tar.xz krb5-d62e2f08e4257d005be10acd429ddd30fadb82e7.zip |
* init_db (qualname): If "kdb5_util create" fails, exit
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15055 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/kadmin/testing/scripts/ChangeLog | 2 | ||||
-rw-r--r-- | src/kadmin/testing/scripts/init_db | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/kadmin/testing/scripts/ChangeLog b/src/kadmin/testing/scripts/ChangeLog index 7fb6f176ef..88fb82ff3c 100644 --- a/src/kadmin/testing/scripts/ChangeLog +++ b/src/kadmin/testing/scripts/ChangeLog @@ -1,5 +1,7 @@ 2002-12-18 Ken Raeburn <raeburn@mit.edu> + * init_db (qualname): If "kdb5_util create" fails, exit. + * env-setup.shin: Set KRB5CCNAME to something under $K5ROOT. 2002-10-30 Ken Raeburn <raeburn@mit.edu> diff --git a/src/kadmin/testing/scripts/init_db b/src/kadmin/testing/scripts/init_db index aac4736774..bc7ac216e7 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 |