r17837: Split out the storing of memory cached credentials
authorJeremy Allison <jra@samba.org>
Sat, 26 Aug 2006 02:53:45 +0000 (02:53 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:38:53 +0000 (11:38 -0500)
commite627362622344f70cd12ded917fe9d82feb63f1a
treefe1030ad60424820b76b65d8a4c619f6b334326d
parent47e29ebe0975f63f972d137fca30fec843492f78
r17837: Split out the storing of memory cached credentials
from the krb5 ticket renewal code. This allows cached
credentials to be stored for single sign-on via ntlm_auth
for machines in a domain still using NTLM. Also (hopefully)
fixes the reference counting problem with pam_logon/logoff
so multiple logons/logoffs won't lose cached credentials.
This compiles, but I'm intending to test it over the weekend
so don't complain too much :-). I also want it in the tree
so Coverity can scan it for errors. Guenther, check this over
please - I ran through the architecture with Jerry and he's
ok with it, but this is modifying your code a lot.
Jeremy.
(This used to be commit 679eeeb91155dad3942efde6ae9f8d81faf18c5b)
source3/nsswitch/winbindd_ccache_access.c
source3/nsswitch/winbindd_cred_cache.c
source3/nsswitch/winbindd_nss.h
source3/nsswitch/winbindd_pam.c