s4:ntlmssp: add NTLMSSP_FEATURE_* flags from s3
authorStefan Metzmacher <metze@samba.org>
Tue, 29 Dec 2009 15:46:05 +0000 (16:46 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 24 Mar 2010 16:34:50 +0000 (17:34 +0100)
metze

Signed-off-by: Günther Deschner <gd@samba.org>
source4/auth/ntlmssp/ntlmssp.h

index ecb3908287d6c9f5d25bec02491b11a41afe9d94..82e9ccfd06a41b41159161fa51fbbfd48aaa3513 100644 (file)
@@ -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 */