heimdal: Honour KRB5_CTX_F_DNS_CANONICALIZE_HOSTNAME in parse_name_canon_rules()
authorAndrew Bartlett <abartlet@samba.org>
Tue, 26 Sep 2017 02:11:53 +0000 (15:11 +1300)
committerStefan Metzmacher <metze@samba.org>
Wed, 29 Apr 2020 09:07:57 +0000 (11:07 +0200)
commitaa42275e100cbbc2e3eb2226fdc415ec5d1f0996
treec2f8137745ce1e7e412be2b5277dfc0dd42481bc
parent6101a9575e35c2d579d3970fc5dba50bb031d4ac
heimdal: Honour KRB5_CTX_F_DNS_CANONICALIZE_HOSTNAME in parse_name_canon_rules()

This is called from gsskrb5_set_dns_canonicalize() and krb5_set_dns_canonicalize_hostname()
and is used by Samba to ensure that the AD DC sees the name as specified by the client.

We allow the krb5.conf to override, if specifically configured.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
lib/krb5/principal.c