r17837: Split out the storing of memory cached credentials
commit679eeeb91155dad3942efde6ae9f8d81faf18c5b
authorJeremy Allison <jra@samba.org>
Sat, 26 Aug 2006 02:53:45 +0000 (26 02:53 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:38:53 +0000 (10 11:38 -0500)
treec784c3924c1ef9307f73f02a58eaeb23b660d735
parentc0767c08d01a429e1abf7205c14acec5e103ca91
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.
source/nsswitch/winbindd_ccache_access.c
source/nsswitch/winbindd_cred_cache.c
source/nsswitch/winbindd_nss.h
source/nsswitch/winbindd_pam.c