[19204] in Kerberos_V5_Development

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

Re: multithreaded access to the same ccache

daemon@ATHENA.MIT.EDU (Greg Hudson)
Tue Jun 16 23:00:42 2015

Message-ID: <5580E2C0.2010507@mit.edu>
Date: Tue, 16 Jun 2015 23:00:16 -0400
From: Greg Hudson <ghudson@mit.edu>
MIME-Version: 1.0
To: Sorin Manolache <sorinm@gmail.com>, krbdev@mit.edu
In-Reply-To: <5580B24D.7060607@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu

On 06/16/2015 07:33 PM, Sorin Manolache wrote:
> Is this hypothesis correct?

I think your hypothesis is correct, and this is a bug in the memory
ccache implementation.  I will file an issue.

> Is there something I could do at 
> application-level in order to avoid this situation? I'm thinking of 
> either protecting all calls to GSSAPI/Kerberos by mutexes or using 
> thread-level ccaches, though both approaches would decrease the performance.

Either of those seems like it should work.
_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

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