[1469] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

[Ed Phillips: Re: krb5_recvauth()]

daemon@ATHENA.MIT.EDU (Christopher Provenzano)
Mon Jun 12 17:48:03 1995

To: krb5-bugs@MIT.EDU
Cc: flaregun@udel.edu
Date: Mon, 12 Jun 1995 17:47:36 EDT
From: Christopher Provenzano  <proven@MIT.EDU>


This is what I think the correct solution is and what I've applied to the
sources. If the application passes krb5_recvauth() a NULL auth_context or 
it passes an auth_context without an rcache then krb5_recvauth() opens a 
new rcache. If the application passes an auth_context with the rcache set 
it does nothing. On the close/free side of if the application calls 
krb5_auth_con_free() with an auth_context which has an rcache the rcache 
is closed and freed. If the application wishes to continue to use the rcache 
it would call krb5_auth_con_setrcache with a NULL rcache before calling 
krb5_auth_con_free() on the auth_context.

CAP

home help back first fref pref prev next nref lref last post