libcli/smb2: add SMB2_CREATE_OPTIONS_NOT_SUPPORTED_MASK
authorStefan Metzmacher <metze@samba.org>
Thu, 14 Aug 2008 10:48:37 +0000 (12:48 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 14 Aug 2008 11:13:51 +0000 (13:13 +0200)
SMB2 returns NOT_SUPPORTED to some more NTCREATE_OPTIONS.

metze

source/libcli/smb2/smb2.h

index 5d6341a15bde1c9ebaa106eb42acc1a053a3ec5e..f00107de603b1f803ddd3967727725a22a70d31a 100644 (file)
@@ -276,7 +276,9 @@ struct smb2_request {
 #define SMB2_CREATE_TAG_TWRP "TWrp"
 #define SMB2_CREATE_TAG_QFID "QFid"
 
-
+/* SMB2 Create ignore some more create_options */
+#define SMB2_CREATE_OPTIONS_NOT_SUPPORTED_MASK (NTCREATEX_OPTIONS_TREE_CONNECTION | \
+                                                NTCREATEX_OPTIONS_OPFILTER)
 
 /*
   check that a body has the expected size