Proposal to expire netsamlogon_cache

Gerald (Jerry) Carter jerry at samba.org
Fri Nov 11 03:30:59 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeremy,

I think we can simply link the the samlogon cache entry with the
session_keystr stored in the vuid structure.

The when retrieving the samlogon cache entry, we do two things 
to validate it:  (a) verify the sessionid record exists, and
(b) verify that the owning process is alive.  (Note that the 
pid of the owning process is stored in the sessionid key 
string).

What do you think?  If we have multiple session setups we will have 
multiple samlogon cache entries but I think that is easier than
reference counting or any other solution.





cheers, jerry
=====================================================================
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc 
"There's an anonymous coward in all of us."               --anonymous
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQFDdBB8IR7qMdg1EfYRAhtXAJ0XXO9qvbpZhQ9vYstMrRBL2QGocgCfUIj8
5wzWTstrGJ7kfs9ntcftcck=
=/ujz
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list