[37281] in Kerberos

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

Re: Function krb5_rc_close not declared

daemon@ATHENA.MIT.EDU (Greg Hudson)
Fri Oct 30 23:27:07 2015

To: =?UTF-8?B?TWlsYW4gxaBldsSNw61r?= <majlen@civ.zcu.cz>, kerberos@mit.edu
From: Greg Hudson <ghudson@mit.edu>
Message-ID: <563434FD.4020407@mit.edu>
Date: Fri, 30 Oct 2015 23:26:53 -0400
MIME-Version: 1.0
In-Reply-To: <5633EB25.4030900@civ.zcu.cz>
Content-Type: text/plain; charset="utf-8"
Errors-To: kerberos-bounces@mit.edu
Content-Transfer-Encoding: 8bit

On 10/30/2015 06:11 PM, Milan Ševčík wrote:
> During maintenance update of our very old tool I found out, that the 
> function krb5_rc_close is not declared in any public header. Using macro 
> krb5_x in the same way as it is used by that function is also 
> impossible, since the structure krb5_rcache is not defined.
> 
> I would just like to know, if any rcache handling is being considered 
> deprecated, or if it was just omitted by mistake in the time the headers 
> were refactored.

The rcache functions have been non-public since krb5 1.2.2.  (More
precisely, they were placed inside an #if KRB5_PRIVATE block in 1.2.2,
and removed from krb5.h in 1.4.)

(There is a glaring and ancient inconcistency in that
krb5_get_server_rcache() and krb5_auth_con_getrcache() are public, but
there are no public interfaces to do anything with them, and for
krb5_get_server_rcache() there is no way to free the result.  For the
moment, it's probably best to pretend that they aren't public functions.)
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos


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