mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-24 14:17:41 -05:00
disable hostname canonicalization by Kerberos library
By default, Kerberos client library attempts to canonicalize service hostname in TGS requests. This can fail e.g. if hosts file on the client machine references short names before FQDNs. In this case the short name is used in TGS_REQ which KDC fails to resolve. Since we do not (yet) support referencing hosts by their short names it is safe to just disable this behavior in krb5.conf and use supplied FQDNs. https://fedorahosted.org/freeipa/ticket/6584 Reviewed-By: Tomas Krizek <tkrizek@redhat.com> Reviewed-By: Simo Sorce <ssorce@redhat.com>
This commit is contained in:
1 parent
0c95a00147
commit
566c86a782
1 file changed
+1
@@ -676,6 +676,7 @@ def configure_krb5_conf(
|
||||
])
|
||||
libopts.extend([
|
||||
krbconf.setOption('rdns', 'false'),
|
||||
krbconf.setOption('dns_canonicalize_hostname', 'false'),
|
||||
krbconf.setOption('ticket_lifetime', '24h'),
|
||||
krbconf.setOption('forwardable', 'true'),
|
||||
krbconf.setOption('udp_preference_limit', '0')
|
||||
|
||||
Reference in new issue
Block a user