summaryrefslogtreecommitdiff
path: root/source3/include/ntlmssp.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-12-30 10:07:32 +0100
committerGünther Deschner <gd@samba.org>2010-03-24 17:34:54 +0100
commiteca118614c1431855c88b9f43457c0d2d6502ebe (patch)
tree8e11f50553b49f532bff4dbcb1d0f402f7d86a38 /source3/include/ntlmssp.h
parent533830543f4282dfb13173dcf8ccf5e65f9d1ed4 (diff)
downloadsamba-eca118614c1431855c88b9f43457c0d2d6502ebe.tar.gz
samba-eca118614c1431855c88b9f43457c0d2d6502ebe.tar.bz2
samba-eca118614c1431855c88b9f43457c0d2d6502ebe.zip
s3:ntlmssp: replace server_role by a server.is_standalone in ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/include/ntlmssp.h')
-rw-r--r--source3/include/ntlmssp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/include/ntlmssp.h b/source3/include/ntlmssp.h
index 31b614fb54..636a0e7d5d 100644
--- a/source3/include/ntlmssp.h
+++ b/source3/include/ntlmssp.h
@@ -45,7 +45,6 @@ enum ntlmssp_message_type
struct ntlmssp_state
{
enum ntlmssp_role role;
- enum server_types server_role;
uint32_t expected_state;
bool unicode;
@@ -58,6 +57,10 @@ struct ntlmssp_state
unsigned char *lm_hash;
char *server_domain;
+ struct {
+ bool is_standalone;
+ } server;
+
DATA_BLOB internal_chal; /* Random challenge as supplied to the client for NTLM authentication */
DATA_BLOB chal; /* Random challenge as input into the actual NTLM (or NTLM2) authentication */