[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A more robust krb5_get_host_realm?



I want krb5_get_host_realm to try harder to find the domain name. In
particular, some systems (Ubuntu Linux for example) easily end up with
a hostname that is not an FQDN. In this case, krb5_get_host_realm gives
up with KRB5_ERR_HOST_REALM_UNKNOWN.

Can someone recommend a superior method? Personally I'm partial to just
getting down to business and doing a PTR lookup. Portable too.

Ideas?

Mike

-- 
Michael B Allen
PHP Active Directory Kerberos SSO
http://www.ioplex.com/