krb5_try_realm_txt_rr() should allow the resolv library to expand
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 30 Jun 1999 15:12:42 +0000 (15:12 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 30 Jun 1999 15:12:42 +0000 (15:12 +0000)
commit8a60b820c9e8a01924029050f4ae9b1408ceaaa2
treec3c7776f561feef98543a4b63876ed1c3dab8eb5
parent040a0fa7a6a565b2413afc1decbb4bc545b5d9be
krb5_try_realm_txt_rr() should allow the resolv library to expand
the local domain or domain searchlist when the query is being
performed without the specification of a hostname or domain.
When 'name' is NULL or "", no '.' should be appended to the query.
Appending a '.' in that circumstance will result in an inability
to resolv the REALM if gethostname() does not return a fully
qualified domain name as on Windows and Solaris.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11536 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/os/hst_realm.c