tests: check TGS with GSS pre-authentication

Validate we can actually get a service ticket when GSS-API pre-authentication
is used, this exercises synthetic client validation.
This commit is contained in:
Luke Howard
2021-12-18 15:07:32 +11:00
parent a3392b099e
commit 7717cb71c3

View File

@@ -148,11 +148,19 @@ for mech in sanon-x25519 spnego ; do
--anonymous --gss-mech=${mech} @$R 2>/dev/null || \
{ ec=1 ; eval "${testfailed}"; }
echo "Getting service ticket"
${kgetcred} ${server}@${R} || { exit 1; }
${kdestroy}
echo "Trying ${mech} pre-authentication with anonymous FAST armor"; > messages.log
${kinit} --pk-anon-fast-armor \
--anonymous --gss-mech=${mech} @$R 2>/dev/null || \
{ ec=1 ; eval "${testfailed}"; }
echo "Getting service ticket"
${kgetcred} ${server}@${R} || { exit 1; }
${kdestroy}
echo "Trying ${mech} pre-authentication with no FAST armor"; > messages.log
${kinit} \
--anonymous --gss-mech=${mech} @$R 2>/dev/null && \