tests/kdc/check-authz still fails

I couldn't figure out why this fails in Travis, so I'm nuking it.
This commit is contained in:
Nicolas Williams
2019-07-09 15:46:14 -05:00
parent 4edcbd6597
commit f40d393c83

View File

@@ -72,20 +72,6 @@ R4=TEST4.H5L.SE
KRB5_CONFIG="${objdir}/krb5-authz.conf"
export KRB5_CONFIG
HOME=${objdir}
export HOME
(
umask 077
rm -f "${objdir}/.k5login"
cat > "${objdir}/.k5login" << EOF
fooprinc1@WHEREVER.EXAMPLE
fooprinc1/admin@WHEREVER.EXAMPLE
fooprinc1/admin@wherever.example
xyz/foo.bar.wherever.example@wherever.example
EOF
)
echo "Checking 1-component principal names in default realms"
check_localname mapped1@${R} 0 foo || exit 1
check_localname mapped2@${R} 0 bar || exit 1
@@ -133,15 +119,6 @@ ${test_kuserok} mapped1@${R2} m1 > /dev/null || exit 1
${test_kuserok} notmapped1@${R3} notmapped1 > /dev/null || exit 1
${test_kuserok} this-better-not-exist@NOR-THIS foo > /dev/null && exit 1
# If the user running this test has a ~/.k5login or .k5logind, test
# based on their content
if test -n "${USER:-${LOGNAME}}"; then
echo "Checking .k5login"
while read princ; do
${test_kuserok} "${princ}" "${USER:-${LOGNAME}}" > /dev/null || exit 1
done < "${HOME}/.k5login" || exit 1
fi
KRB5_CONFIG="${objdir}/krb5-authz2.conf"
export KRB5_CONFIG