skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 3:... HP Open Source Security for OpenVMS Volume 3:...
go to beginning of chapter: KRB5 (Kerberos V5) Application Programming Interface KRB5 (Kerberos V5) Application Programming Interface
go to previous page: krb5_cc_start_seq_get  Start sequential read of cached credentials krb5_cc_start_seq_get Start sequential read of cached credentials
go to next page: krb5_change_password  Change an existing passwordkrb5_change_password Change an existing password
end of book navigation links

krb5_cc_store_cred -- Store a credential in the credentials cache 



C Prototype 

krb5_error_code krb5_cc_store_cred(
         krb5_context     context,
         krb5_ccache      id,
         krb5_creds       *creds );

Arguments 

context
(input/output)
 The context structure.
id (input)  A credentials cache identifier.
creds (input)  The credentials to store in the cache.

Description 

This routine stores creds in the cache id, tagged with creds->client. It requires that id identifies a valid credentials cache.

Return Values 

This routine returns one of the following KRB5 status codes:

Permission error.

Storage failure error.



go to previous page: krb5_cc_start_seq_get  Start sequential read of cached credentials krb5_cc_start_seq_get Start sequential read of cached credentials
go to next page: krb5_change_password  Change an existing passwordkrb5_change_password Change an existing password