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_get_renewed_creds  Renew existing credentials krb5_get_renewed_creds Renew existing credentials
go to next page: krb5_get_time_offsets  Get the time offsets from the os contextkrb5_get_time_offsets Get the time offsets from the os context
end of book navigation links

krb5_get_server_rcache -- Create a replay cache for server use 



C Prototype 

krb5_error_code krb5_get_server_rcache(
         krb5_context           context,
         const krb5_data        *piece,
         krb5_rcache            *ret_rcache );

Arguments 

context
(input/output)
 The context structure.
piece (input)  Used to distinguish this replay cache from others in use on the system. Typically, piece is the first component of the principal name for the client or server that is calling krb5_get_server_rcache.
ret_rcache (output)  A handle to an open rcache.

Description 

This routine generates a replay cache name, allocates space for its handle, and opens it.

Upon successful return, ret_rcache is filled in to contain a handle to an open rcache, which should be closed with krb5_rc_close.

Return Values 

This routine returns the following KRB5 status code:

0
Successful completion.
ENOMEM
Insufficient memory.


go to previous page: krb5_get_renewed_creds  Renew existing credentials krb5_get_renewed_creds Renew existing credentials
go to next page: krb5_get_time_offsets  Get the time offsets from the os contextkrb5_get_time_offsets Get the time offsets from the os context