Problem with replay cache file

Greg Hudson ghudson at MIT.EDU
Wed Aug 14 11:30:49 EDT 2013


On 08/13/2013 04:14 PM, Vipul Mehta wrote:
> Is there any method in API that can be used to specify replay cache file
> to be used by a service instance ?

You can use krb5_get_server_rcache to get an rcache with a specified
component.

For a GSSAPI application, you can use gss_krb5_set_cred_rcache on the
acceptor credential to use that rcache.  For a libkrb5 application, you
can use krb5_auth_con_setrcache before calling krb5_rd_req.  Both
functions transfer ownership of the rcache handle to the object, so you
should discard the handle without closing it; it will be closed when the
GSS credential or auth context is destroyed.



More information about the krbdev mailing list