krb5_rc_store()--Store New Entry in Replay Cache


  Syntax
 #include <krb5.h>

 krb5_error_code krb5_rc_store(
     krb5_context     context,
     krb5_rcache      rcache,
     krb5_donot_replay *    replay);   
  Service Program Name: QSYS/QKRBGSS

  Default Public Authority: *USE

  Threadsafe: Yes

The krb5_rc_store() function stores a new entry in the replay cache after verifying that the entry is not already in the cache.


Authorities

No authorities are required.


Parameters

context  (Input)
The Kerberos context.

rcache  (Input)
The replay cache handle.

replay  (Input)
The replay entry.

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.


Usage Notes

  1. The krb5_auth_to_rep() routine can be used to create a replay entry from a Kerberos authenticator. The krb5_rc_expunge() routine should be called periodically to purge expired entries from the replay cache.


API introduced: V5R1

[ Back to top | Security APIs | UNIX-Type APIs | APIs by category ]