#include <krb5.h> krb5_error_code krb5_set_default_realm( krb5_context context, char * realm);Service Program Name: QSYS/QKRBGSS
The krb5_set_default_realm() function sets the default realm for the specified Kerberos context. This overrides the default realm set by the Kerberos configuration file. The realm set by krb5_set_default_realm() applies only to the Kerberos context specified by the context parameter.
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 ]