krb5_cc_store_cred()--Store New Set of Credentials
Syntax
#include <krb5.h> krb5_error_code krb5_cc_store_cred( krb5_context context, krb5_ccache ccache, krb5_creds * creds);Service Program Name: QSYS/QKRBGSS
Default Public Authority: *USE
Threadsafe: Yes
The krb5_cc_store_cred() function stores a new set of Kerberos credentials in the credentials cache. Existing credentials for the same client/server pair are not removed, even if they have expired. Credentials are stored first-in, first-out, which means that newer credentials are retrieved after older credentials.
Authorities
Object Referred to | Data Authority Required |
---|---|
Each directory in the path name preceding the credentials cache file | *X |
Credentials cache file | *RW |
Parameters
- context (Input)
- The Kerberos context.
- ccache (Input)
- The credentials cache handle.
- creds (Input)
- The Kerberos credentials.
Return Value
If no errors occur, the return value is 0. Otherwise, a Kerberos error code is returned.
Error Messages
Message ID | Error Message Text |
---|---|
CPE3418 E | Possible APAR condition or hardware failure. |
API introduced: V5R1
[ Back to top | Security APIs | UNIX-Type APIs | APIs by category ]