context, threads, and both

Ken Raeburn raeburn at MIT.EDU
Thu Jun 2 21:56:08 EDT 2005


On Jun 2, 2005, at 16:56, John Rudd wrote:
> So, if each one keeps its own principle, creds, and context data 
> separate, all should be good?

Yes.  Actually, the credential cache code does locking internally, so 
if the threads are all using the same client principal, you should be 
able to share a credentials cache.  (But any race conditions that might 
exist between processes accessing the same on-disk ccache will still 
exist in multiple threads independently opening and accessing the same 
on-disk ccache, and may require different fixes.)

Ken



More information about the krbdev mailing list