From bc8d12e59331fb814a58733b68f8ec16cfffa61e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 25 May 2010 19:59:23 +1000 Subject: 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 --- source4/auth/ntlmssp/ntlmssp.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'source4/auth/ntlmssp/ntlmssp.h') 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; -- cgit