summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-12-29 16:46:05 +0100
committerGünther Deschner <gd@samba.org>2010-03-24 17:34:50 +0100
commit4ab94f5836a9e0e3002d052eb4076c8d9ad28e2f (patch)
treeede25e73f5f11a71ba449ca8127428816d4c653f
parentee240799b6d7918afffdd762ead5221283f5dd5d (diff)
downloadsamba-4ab94f5836a9e0e3002d052eb4076c8d9ad28e2f.tar.gz
samba-4ab94f5836a9e0e3002d052eb4076c8d9ad28e2f.tar.bz2
samba-4ab94f5836a9e0e3002d052eb4076c8d9ad28e2f.zip
s4:ntlmssp: add NTLMSSP_FEATURE_* flags from s3
metze Signed-off-by: Günther Deschner <gd@samba.org>
-rw-r--r--source4/auth/ntlmssp/ntlmssp.h6
1 files changed, 6 insertions, 0 deletions
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 */