We should be able to do much faster kerberos discovery by doing this in parallel and aborting slow discovery when we know that it won't produce success.
Created attachment 65996 [details] [review] Integrate kerberos discovery * Discover everything about a kerberos domain in one place rather than duplicating implementation in different providers. * This lets us consolidate logic, and coordinate between the different types of kerberos domains.
Created attachment 65997 [details] [review] Run IPA discovery in parallel against multiple KDCs * Since we actually try to connect to the https port of the KDC this can timeout due to firewalls. * Set maximum timeout to 5 seconds for connection. * Try to connect to up to 3 KDCs in parallel, which should give us redundancy, and only take 5 seconds total when firewalled.
Merged into master.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.