krb5_rc_recover()--Recover Replay Cache


  Syntax
 #include <krb5.h>

 krb5_error_code krb5_rc_recover(
     krb5_context     context,  
     krb5_rcache      rcache); 
  Service Program Name: QSYS/QKRBGSS  
  Default Public Authority: *USE

  Threadsafe: Yes

The krb5_rc_recover() function recovers a replay cache after the application has been restarted. Either krb5_rc_recover() or krb5_rc_initialize() must be called before any replay entries can be added to the replay cache.


Authorities

Object Referred to Data
Authority
Required
Each directory in the path name preceding the replay cache file *X
Replay cache file *RW


Parameters

context  (Input)
The Kerberos context.

rcache  (Input)
The replay cache handle.

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
Top | Security APIs
UNIX-Type APIs | APIs by category