On Tue, Dec 14, 2010 at 12:21:39PM -0500, Stephen Gallagher wrote:
-----BEGIN PGP SIGNED MESSAGE-----
On 12/14/2010 04:17 AM, Sumit Bose wrote:
> I have found some minor issues with automatic ticket renewal while
> If random ccache file names are used the name of the ccache file should
> be kept if the user is not logged in, but the TGT is still renewable.
> If a user logs in and out repeatedly and random names are used a new
> hash entry is created for every new ticket. The old entries just eat
> away some memory because the related ccache file is already deleted.
> Using the user name as the hash key solves this, because currently sssd
> (and MIT Kerberos) support one ccache per user.
For future compatibility, it would be better if we keyed on the
principal, rather than the username. Then we can support in the future
one user with one ccache per principal.
We're actively working with MIT to try and get them to support multiple
simultaneous TGTs, and I'd really like for us not to have to re-fix this
when that comes through.
ok, the new patch uses the principal. I have added another patch to
allow a delete callback to be passed to sss_hash_create(). This is
useful if hash_enter() is used to update entries.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
sssd-devel mailing list