summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_nss.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-08-20 01:25:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:43 -0500
commitb2d5dd7281805a25a86124d76dbc091fe12efff5 (patch)
treeafe2de67ddf4e2a57d16fbe7162bf21193b1ea61 /source3/nsswitch/winbindd_nss.h
parentffa590854ab5f2563c3398ae9ae3182e6abe3f82 (diff)
downloadsamba-b2d5dd7281805a25a86124d76dbc091fe12efff5.tar.gz
samba-b2d5dd7281805a25a86124d76dbc091fe12efff5.tar.bz2
samba-b2d5dd7281805a25a86124d76dbc091fe12efff5.zip
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. (This used to be commit 017e7e14958d29246a1b221e33755bb91e96b08f)
Diffstat (limited to 'source3/nsswitch/winbindd_nss.h')
-rw-r--r--source3/nsswitch/winbindd_nss.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_nss.h b/source3/nsswitch/winbindd_nss.h
index b19026b4db..f393512b72 100644
--- a/source3/nsswitch/winbindd_nss.h
+++ b/source3/nsswitch/winbindd_nss.h
@@ -462,6 +462,8 @@ struct WINBINDD_CCACHE_ENTRY {
const char *service;
const char *username;
const char *sid_string;
+ unsigned char *nt_hash; /* Base pointer for the following 2 */
+ unsigned char *lm_hash;
char *pass;
uid_t uid;
time_t create_time;