libcli/smb: add SMB1 session setup action flags
authorStefan Metzmacher <metze@samba.org>
Mon, 18 Apr 2016 15:34:21 +0000 (17:34 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 29 Apr 2016 10:06:25 +0000 (12:06 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11841

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
(cherry picked from commit cceaa61cf064926baca6db4b303d34ea90d40d52)

libcli/smb/smb_constants.h

index 9b1de5048d0105051705872ce6e85dce3476f775..c7a49abb4ce1e68c5d1076eee30a5cf3ef3bff44 100644 (file)
@@ -276,6 +276,12 @@ enum smb_signing_setting {
        CAP_LARGE_WRITEX | \
        0)
 
+/*
+ * The action flags in the SMB session setup response
+ */
+#define SMB_SETUP_GUEST          0x0001
+#define SMB_SETUP_USE_LANMAN_KEY 0x0002
+
 /* Client-side offline caching policy types */
 enum csc_policy {
        CSC_POLICY_MANUAL=0,