r17616: Add the lm and nt hashes to the cached credentials
commit017e7e14958d29246a1b221e33755bb91e96b08f
authorJeremy Allison <jra@samba.org>
Sun, 20 Aug 2006 01:25:26 +0000 (20 01:25 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:38:43 +0000 (10 11:38 -0500)
tree513ea82156e48da09e7439c3e9d4e4bee5e32543
parent629faa530f0422755823644f1c23bea74830912f
r17616: Add the lm and nt hashes to the cached credentials
stored - only store the password if we're going to
be doing a krb5 refresh. GD please review this change !
Now to add code to reference count the cached creds
(to allow multiple pam_logon/pam_logoffs to keep the
creds around), ensure that the cred cache is called
on all successful pam_logons (if we have winbindd cache
pam credentials = true, set this by default) and finally
ensure the creds cache is changed on successful password
change. GD - you *really* need to review this :-).
Jeremy.
source/nsswitch/winbindd_ccache_access.c
source/nsswitch/winbindd_cred_cache.c
source/nsswitch/winbindd_nss.h