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_copy_creds  Copy a set of credentials krb5_cc_copy_creds Copy a set of credentials
go to next page: krb5_cc_default_name  Return the name of the default credentials cachekrb5_cc_default_name Return the name of the default credentials...
end of book navigation links

krb5_cc_default -- Resolve the default credentials cache name 



C Prototype 

krb5_error_code krb5_cc_default(
         krb5_context   context,
         krb5_ccache    *ccache );

Arguments 

context
(input/output)
 The context structure.
ccache (output)  A pointer to the credentials cache name.

Description 

This routine is equivalent to krb5_cc_resolve( krb5_cc_default_name(),ccache );).

Return Values 

This routine returns the following KRB5 status codes:

KV5M_CONTEXT
Bad magic number for krb5_context structure.
Results of krb5_cc_resolve



go to previous page: krb5_cc_copy_creds  Copy a set of credentials krb5_cc_copy_creds Copy a set of credentials
go to next page: krb5_cc_default_name  Return the name of the default credentials cachekrb5_cc_default_name Return the name of the default credentials...