#include <krb5.h> krb5_error_code krb5_kt_default_name( krb5_context context, char * name, int name_size);Service Program Name: QSYS/QKRBGSS
The krb5_kt_default_name() function returns the name of the default key table for the current user. If the KRB5_KTNAME environment variable is set, this is the name of the default key table. Otherwise, the key table name is obtained from the default_keytab_name entry in the [libdefaults] section of the Kerberos configuration file. If this entry is not defined, the default key table name is /QIBM/UserData/OS400/NetworkAuthentication/keytab/krb5.keytab.
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 ]