diff options
author | Jeremy Allison <jra@samba.org> | 2006-08-19 20:42:04 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:38:43 -0500 |
commit | ffa590854ab5f2563c3398ae9ae3182e6abe3f82 (patch) | |
tree | 136d175541152b0699d0cd9cf954c2cda2ccb982 /source3/include/ntlmssp.h | |
parent | b41e14abfdc7301d5ae26ad95c031aa36c190fc8 (diff) | |
download | samba-ffa590854ab5f2563c3398ae9ae3182e6abe3f82.tar.gz samba-ffa590854ab5f2563c3398ae9ae3182e6abe3f82.tar.xz samba-ffa590854ab5f2563c3398ae9ae3182e6abe3f82.zip |
r17612: Modify NTLMSSP session code so that it doesn't store
a copy of the plaintext password, only the NT and LM
hashes (all it needs). Fix smbencrypt to expose hash
verions of plaintext function. Andrew Bartlett, you
might want to look at this for gensec.
This should make it easier for winbindd to store
cached credentials without having to store plaintext
passwords in an NTLM-only environment (non krb5).
Jeremy.
(This used to be commit 629faa530f0422755823644f1c23bea74830912f)
Diffstat (limited to 'source3/include/ntlmssp.h')
-rw-r--r-- | source3/include/ntlmssp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/ntlmssp.h b/source3/include/ntlmssp.h index a158fb614f5..d15ce18021c 100644 --- a/source3/include/ntlmssp.h +++ b/source3/include/ntlmssp.h @@ -89,7 +89,8 @@ typedef struct ntlmssp_state char *user; char *domain; char *workstation; - char *password; + unsigned char *nt_hash; + unsigned char *lm_hash; char *server_domain; DATA_BLOB internal_chal; /* Random challenge as supplied to the client for NTLM authentication */ |