GSS API context question
Ken Raeburn
raeburn at MIT.EDU
Fri Aug 3 09:00:03 EDT 2007
On Aug 3, 2007, at 07:53, Vipin Rathor wrote:
> hi all,
>
> As I was going through the GSS-API context for in the krb5-1.4
> release and
> later I noticed
> that the GSS API context structure has changed.
>
> The _krb5_gss_ctx_id_rec structure defined in gssapiP_krb5.h has
> two new
> fields called
>
> typedef strcut _krb5_gss_ctx_id_rec
> {
> ..
> krb5_context k5_context;
> ..
> int cred_rcache;
> ..
> }krb5_gss_ctx_id_rec,*krb5_gss_ctx_id_t;
>
> has been added. As I understand the "k5_context" was added for
> threading
> purpose, which is fair. But I really do not get why the "int
> cred_rcache;"
> field was added and if its necessary? Can anyone please let me know
> the
> importance of this field and if its really required ?
From the RT ticket referred to by the commit message (both readable
to the public, btw), it looks like it's part of a change to avoid a
resource leak.
More information about the krbdev
mailing list