- krb5_error_code krb5_get_fallback_host_realm(krb5_context context, krb5_data * hdata, char *** realmsp)¶
[in] context - Library context
[in] hdata - Host name (or NULL)
[out] realmsp - Null-terminated list of realm names
Fill in realmsp with a pointer to a null-terminated list of realm names obtained through heuristics or insecure resolution methods which have lower priority than KDC referrals.
If host is NULL, the local host’s realms are determined.
Use krb5_free_host_realm() to release realmsp when it is no longer needed.