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_default  Resolve the default credentials cache name krb5_cc_default Resolve the default credentials cache name
go to next page: krb5_cc_destroy  Destroy a credentials cachekrb5_cc_destroy Destroy a credentials cache
end of book navigation links

krb5_cc_default_name -- Return the name of the default credentials cache 



C Prototype 

char * krb5_cc_default_name(
        krb5_context    context );

Arguments 

context
(input/output)
 The context structure.

Description 

This routine returns the name of the default credentials cache; this may be equivalent to getenv(KRB5CCNAME) with an appropriate fallback.

Return Values 

This routine returns the following KRB5 status codes:

Success
The name of the default credentials cache.
Failure
NULL


go to previous page: krb5_cc_default  Resolve the default credentials cache name krb5_cc_default Resolve the default credentials cache name
go to next page: krb5_cc_destroy  Destroy a credentials cachekrb5_cc_destroy Destroy a credentials cache