]> git.ipfire.org Git - thirdparty/krb5.git/commit
Add dns_canonicalize_hostname=fallback support 875/head
authorSimo Sorce <simo@redhat.com>
Tue, 4 Dec 2018 20:22:55 +0000 (15:22 -0500)
committerGreg Hudson <ghudson@mit.edu>
Fri, 21 Dec 2018 02:24:07 +0000 (21:24 -0500)
commit6c20cb1c89acaa03db897182a3b28d5f8f284907
treee5d71647851c61408c7889f7335f01e47de627e4
parent94e5eda5bb94d1d44733a49c3d9b6d1e42c74def
Add dns_canonicalize_hostname=fallback support

Turn dns_canonicalize_hostname into a tristate variable, allowing the
value "fallback" as well as the true/false booleans.  If it is set to
fallback, delay DNS canonicalization and attempt it only in
krb5_get_credentials() if the KDC responds that the requested server
principal name is unknown.

[ghudson@mit.edu: added TGS tests; refactored code; edited commit
message and documentation]

ticket: 8765 (new)
doc/admin/conf_files/krb5_conf.rst
src/include/k5-int.h
src/include/k5-trace.h
src/lib/krb5/krb/get_creds.c
src/lib/krb5/krb/init_ctx.c
src/lib/krb5/krb/t_copy_context.c
src/lib/krb5/os/os-proto.h
src/lib/krb5/os/sn2princ.c
src/tests/gcred.c
src/tests/t_sn2princ.py