diff --git a/tests/kdc/check-authz.in b/tests/kdc/check-authz.in index b6dd6ba34..02015b390 100644 --- a/tests/kdc/check-authz.in +++ b/tests/kdc/check-authz.in @@ -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