#include <krb5.h> krb5_error_code krb5_get_host_realm( krb5_context context, krb5_const char * host, char *** realm_list);Service Program Name: QSYS/QKRBGSS
The krb5_get_host_realm() function returns a list of Kerberos realm names for the specified host name. The entries in the [domain_realm] section of the Kerberos configuration file are used. A direct match takes precedence over a suffix match. The current implementation of this routine returns a single realm name. If no realm name is found, the uppercased host domain is returned as the realm name.
No authorities are required.
If no errors occur, the return value is 0. Otherwise, a Kerberos error code is returned.
Message ID | Error Message Text |
---|---|
CPE3418 E | Possible APAR condition or hardware failure. |
[ Back to top | Security APIs | UNIX-Type APIs | APIs by category ]