tgs-req: strip forwardable and proxiable if the server is disallowed

This commit is contained in:
Isaac Boukris
2020-01-18 14:47:02 +01:00
committed by Jeffrey Altman
parent 921d528d8b
commit 839b073fac
2 changed files with 10 additions and 0 deletions

View File

@@ -460,6 +460,10 @@ ${kgetcred} ${server}@${R} || { ec=1 ; eval "${testfailed}"; }
${klist} -f | grep ${server} | grep FRA > /dev/null || \
{ ec=1 ; eval "${testfailed}"; }
echo "Testing strip of forwardable when the server is disallowed in TGS-REQ"
${kgetcred} sensitive@${R} || { ec=1 ; eval "${testfailed}"; }
${klist} -f | grep sensitive | grep FRA > /dev/null && \
{ ec=1 ; eval "${testfailed}"; }
echo "Specific enctype"; > messages.log
${kinit} --password-file=${objdir}/foopassword \