[SSSD] [PATCH] Generate ccache name at the beginning of auth process

Jan Zelený jzeleny at redhat.com
Mon Dec 6 08:25:01 UTC 2010


Sumit Bose <sbose at redhat.com> wrote:
> On Sat, Nov 20, 2010 at 12:25:02AM +0100, Jan Zeleny wrote:
> > After some complications I finally made the patch solving ticket #533
> > (different ccache files during multiple simultaneous logins of the same
> > user). It is based on Simo's idea to determine the ccache file name in
> > advance and count references to it.
> > 
> > Jan
> 
> I'm not sure if it is worth writing the reference counter and the new
> file to the cache. Having them in a hash should be sufficient and
> the reference counter does not have to be reseted at startup (which is
> missing).
> 
> The reference counter is set in krb5_auth_send() but decremented in
> krb5_child_done(). This should be moved to krb5_auth_done() before any
> error checking to make sure that it is done under all circumstances.
> 
> bye,
> Sumit

I'm sending updated patch. Both your objections were valid and they are now 
resolved.

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Generate-ccache-name-at-the-beginning-of-auth.patch
Type: text/x-patch
Size: 13577 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101206/96369e63/attachment.bin>


More information about the sssd-devel mailing list