On Thu, Mar 31, 2011 at 6:42 AM, Guilherme Nery <guilhermepn at gmail.com>wrote: > How can I get the realm of a hostname, Consult local configuration (krb5.conf), or DNS SRV records if DNS is being used. > and get the hostname of realm? > That question doesn't make sense. There is no mapping of realm->hostname.