heimdal: avoid DNS search domain expansion
authorAndrew Tridgell <tridge@samba.org>
Mon, 27 Sep 2010 21:34:06 +0000 (14:34 -0700)
committerAndrew Tridgell <tridge@samba.org>
Mon, 27 Sep 2010 23:18:23 +0000 (23:18 +0000)
commit43d0c2e9ea71770aa87e74778c20908606cd55f8
treee2541164222c858f0ed4332af7df841c0191368f
parent48adfb264f0a8772ac04fc51af1c39460c011acb
heimdal: avoid DNS search domain expansion

When you have a domain search list in resolv.conf, and one of the DNS
servers for a searched domain is uncontactable then we would timeout
resolving DNS names.

Avoid this by adding a '.' to the hostname if the hostname already has
a '.' in it, which we assume to mean it is fully qualified.
source4/heimdal/lib/krb5/krbhst.c