freeipa/ipa-client/ipaclient
Rob Crittenden 74e5d8c2af Better distinguish between when DNS discovery works and search more domains.
Passing domain and server on the command-line used to be considered as
DNS autodiscovery worked. This was problematic if there was in fact no
SRV records because krb5.conf would be configured without a specific KDC
causing all Kerberos ops to fail.

Now if you pass in a domain/server it still tries to see if they are
discoverable and if so won't hardcode a server, but will fall back to doing
so if necessary.

Also be a lot more aggressive on looking for the SRV records. Use the
search and domain values from /etc/resolv.conf on the chance that the
SRV records aren't in the domain of the hostname of the machine.

An example of this would be if your laptop is in dhcp.example.com and
your company's SRV records are in corp.example.com. Searching
dhcp.example.com and example.com won't find the SRV records but the user
is likely to have corp.redhat.com in the search list, at least.

ticket 234
2010-09-20 16:04:30 -04:00
..
__init__.py Fix issues reported by rpmlint. 2008-01-18 16:20:36 -05:00
ipachangeconf.py Set the license uniformly to GPLv2 only. 2008-02-04 15:15:52 -05:00
ipadiscovery.py Better distinguish between when DNS discovery works and search more domains. 2010-09-20 16:04:30 -04:00
Makefile.am Fix issues reported by rpmlint. 2008-01-18 16:20:36 -05:00
ntpconf.py Clean up additional issues discovered with pylint and pychecker 2009-08-20 09:20:56 -04:00