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
(This used to be commit 3ea08d430370717463ffab44fed9c42db1002d97)

source4/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