diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-05-25 19:59:23 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-06-01 17:11:24 +1000 |
commit | bc8d12e59331fb814a58733b68f8ec16cfffa61e (patch) | |
tree | 26412c57f119bf30822d22473c8141d3d2ea5b2f /source4/auth/ntlmssp/ntlmssp.h | |
parent | dfb206f47e8b9bcf81493e7cb6aed7859fb54042 (diff) | |
download | samba-bc8d12e59331fb814a58733b68f8ec16cfffa61e.tar.gz samba-bc8d12e59331fb814a58733b68f8ec16cfffa61e.tar.bz2 samba-bc8d12e59331fb814a58733b68f8ec16cfffa61e.zip |
s4:ntlmssp Merge ntlmssp structures with version from source3/
Use this as an excuse to get rid of ntlmssp_set_domain() etc, which
don't do anything useful now that msrpc_parse() use talloc anyway.
Andrew Bartlett
Diffstat (limited to 'source4/auth/ntlmssp/ntlmssp.h')
-rw-r--r-- | source4/auth/ntlmssp/ntlmssp.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/source4/auth/ntlmssp/ntlmssp.h b/source4/auth/ntlmssp/ntlmssp.h index 6276c9e03e..005414a9f6 100644 --- a/source4/auth/ntlmssp/ntlmssp.h +++ b/source4/auth/ntlmssp/ntlmssp.h @@ -4,6 +4,7 @@ Copyright (C) Andrew Tridgell 1992-1997 Copyright (C) Luke Kenneth Casson Leighton 1996-1997 Copyright (C) Paul Ashton 1997 + Copyright (C) Andrew Bartlett 2010 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -54,13 +55,19 @@ struct ntlmssp_state bool unicode; bool use_ntlmv2; bool use_ccache; - bool use_nt_response; /* Set to 'False' to debug what happens when the NT response is omited */ - bool allow_lm_key; /* The LM_KEY code is not functional at this point, and it's not - very secure anyway */ - const char *user; const char *domain; - const char *workstation; + uint8_t *nt_hash; + uint8_t *lm_hash; + + bool use_nt_response; /* Set to 'False' to debug what happens when the NT response is omited */ + bool allow_lm_key; /* The LM_KEY code is not very + secure... */ + + struct { + const char *netbios_name; + const char *netbios_domain; + } client; struct { bool is_standalone; |