krb5_gen_replay_name()--Generate Replay Cache Name


  Syntax
 #include <krb5.h>

 krb5_error_code krb5_gen_replay_name(
     krb5_context     context,
     krb5_const krb5_address *    inaddr,  
     krb5_const char *      unique,
     char **        string);  
  Service Program Name: QSYS/QKRBGSS

  Default Public Authority: *USE

  Threadsafe: Yes

The krb5_gen_replay_name() function generates a unique replay cache name based on the Kerberos address supplied by the caller. The unique parameter is used to differentiate this replay cache from others currently in use on the system. The generated cache name consists of the unique portion concatenated with the hexadecimal representation of the Kerberos address.


Authorities

No authorities are required.


Parameters

context  (Input)
The Kerberos context.

inaddr  (Input)
The address to be incorporated into the cache name.

unique  (Input)
The unique portion of the replay cache name.

string  (Output)
The generated replay cache name. The krb5_free_string() function should be called to free the string when it is no longer needed.

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

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