allow testing even if name->addr->name mapping doesn't work
authorKen Raeburn <raeburn@mit.edu>
Thu, 3 Dec 2009 02:17:24 +0000 (02:17 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 3 Dec 2009 02:17:24 +0000 (02:17 +0000)
commitdf1f581ffeff2abb67ee4e6b6d4da13189b0d271
treeb7713e25a993a889a30ad39e09801ee69936e23e
parent78989785a51de5a0516f67600c41cc3b85a49799
allow testing even if name->addr->name mapping doesn't work

Many of the tests are set up to fail if the local hostname can't be
mapped to an address and back to a name again.  If the name results in
an address, and we can get a fully-qualified name or something that
looks like it, though, we should be able to just go ahead and run some
tests.

This is also closer to the current behavior of sname_to_principal when
reverse DNS is enabled.

ticket: 6590

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23439 dc483132-0cff-0310-8789-dd5450dbe970
src/kadmin/testing/scripts/make-host-keytab.plin
src/kadmin/testing/scripts/qualname.plin
src/tests/resolve/resolve.c