#include <krb5.h>
krb5_error_code krb5_init_context(
krb5_context * context);
Service Program Name: QSYS/QKRBGSSThe krb5_init_context() function creates a new Kerberos context and initializes it with default values obtained from the Kerberos configuration file. Each application needs at least one Kerberos context. A context may be shared by multiple threads within the same process. Use the krb5_free_context() routine to release the context when it is no longer needed.
| Object Referred to | Data Authority Required |
|---|---|
| Each directory in the path name preceding the configuration files | *X |
| Configuration files | *R |
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. |
| Top | Security APIs UNIX-Type APIs | APIs by category |