test anonymous

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24597 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-02-04 22:07:22 +00:00
parent e741dd4499
commit df1d6c9e6c

View File

@@ -365,6 +365,15 @@ fi
# If we support pkinit and have RSA, lets try that
if test "$pkinit" = yes -a "$rsa" = yes ; then
base="${srcdir}/../../lib/hx509/data"
echo "try anonymous pkinit"; > messages.log
${kinit} $type --anonymous WELLKNOWN/ANONYMOUS@${R} || \
{ ec=1 ; eval "${testfailed}"; }
${kgetcred} ${server}@${R} || { ec=1 ; eval "${testfailed}"; }
${kdestroy}
for type in "" "--pk-use-enckey"; do
echo "Trying pk-init (principal in certificate) $type"; > messages.log
base="${srcdir}/../../lib/hx509/data"