freeipa/ipaserver/install/plugins
Julien Rische 673d2b82d0 Generate CNAMEs for TXT+URI location krb records
The IPA location system relies on DNS record priorities in order to give
higher precedence to servers from the same location. For Kerberos, this
is done by redirecting generic SRV records (e.g.
_kerberos._udp.[domain].) to location-aware records (e.g.
_kerberos._udp.[location]._locations.[domain].) using CNAMEs.

This commit applies the same logic for URI records. URI location-aware
record were created, but there were no redirection from generic URI
records. It was causing them to be ignored in practice.

Kerberos URI and TXT records have the same name: "_kerberos". However,
CNAME records cannot coexist with any other record type. To avoid this
conflict, the generic TXT realm record was replaced by location-aware
records, even if the content of these records is the same for all
locations.

Fixes: https://pagure.io/freeipa/issue/9257
Signed-off-by: Julien Rische <jrische@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2022-11-23 20:00:17 +01:00
..
__init__.py Server Upgrade: specify order of plugins in update files 2015-04-14 19:25:47 +02:00
adtrust.py ipatests: extend AES keyset to SHA2-based ones 2022-03-08 12:54:47 +01:00
ca_renewal_master.py Terminology improvements: CA renewal 2020-06-23 10:16:29 +02:00
dns.py Generate CNAMEs for TXT+URI location krb records 2022-11-23 20:00:17 +01:00
fix_kra_people_entry.py upgrade: fix ipakra people entry 'description' attribute 2019-10-17 08:17:46 +02:00
fix_replica_agreements.py logging: remove object-specific loggers 2017-07-14 15:55:59 +02:00
rename_managed.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
update_ca_topology.py Simplify LDAPUpdater 2020-09-22 09:21:00 -04:00
update_changelog_maxage.py Increase replication changelog trimming to 30 days 2020-08-19 14:02:27 -04:00
update_dna_shared_config.py Redesign subid feature 2021-07-09 09:47:30 -04:00
update_fix_duplicate_cacrt_in_ldap.py Duplicate CA CRT: ignore expected cert 2020-09-18 14:20:08 -04:00
update_idranges.py Catch EmptyResult exception in update_idranges 2020-11-06 16:29:41 -05:00
update_ldap_server_list.py Fix E713 test for membership should be 'not in' 2020-05-05 10:42:46 +02:00
update_managed_permissions.py Terminology improvements: use block list 2020-06-23 10:16:29 +02:00
update_nis.py Simplify LDAPUpdater 2020-09-22 09:21:00 -04:00
update_pacs.py logging: remove object-specific loggers 2017-07-14 15:55:59 +02:00
update_passsync.py Use api.env.container_sysaccounts 2020-04-28 11:28:29 +02:00
update_pwpolicy.py Set default on group pwpolicy with no grace limit in upgrade 2022-08-18 17:51:20 -04:00
update_ra_cert_store.py Ignore database errors when trying to extract ipaCert on upgrade 2021-01-28 09:19:32 +01:00
update_referint.py logging: do not log into the root logger 2017-07-14 15:55:59 +02:00
update_services.py logging: do not log into the root logger 2017-07-14 15:55:59 +02:00
update_unhashed_password.py Issue 8407 - Support changelog integration into main database 2020-08-04 10:54:57 +03:00
update_uniqueness.py logging: do not log into the root logger 2017-07-14 15:55:59 +02:00
upload_cacrt.py CA: set ipaconfigstring:compatCA in cn=DOMAIN IPA CA 2019-05-22 17:53:13 +02:00