From 4ab94f5836a9e0e3002d052eb4076c8d9ad28e2f Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 29 Dec 2009 16:46:05 +0100 Subject: s4:ntlmssp: add NTLMSSP_FEATURE_* flags from s3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit metze Signed-off-by: Günther Deschner --- source4/auth/ntlmssp/ntlmssp.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/auth/ntlmssp/ntlmssp.h') diff --git a/source4/auth/ntlmssp/ntlmssp.h b/source4/auth/ntlmssp/ntlmssp.h index ecb3908287..82e9ccfd06 100644 --- a/source4/auth/ntlmssp/ntlmssp.h +++ b/source4/auth/ntlmssp/ntlmssp.h @@ -40,6 +40,11 @@ enum ntlmssp_message_type NTLMSSP_DONE = 5 /* samba final state */ }; +#define NTLMSSP_FEATURE_SESSION_KEY 0x00000001 +#define NTLMSSP_FEATURE_SIGN 0x00000002 +#define NTLMSSP_FEATURE_SEAL 0x00000004 +#define NTLMSSP_FEATURE_CCACHE 0x00000008 + struct gensec_ntlmssp_state { enum ntlmssp_role role; @@ -48,6 +53,7 @@ struct gensec_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 */ -- cgit