summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-08-14 12:48:37 +0200
committerStefan Metzmacher <metze@samba.org>2008-08-14 13:13:51 +0200
commit2a336a63d704b1a5cf8e9a2961f48285081256ac (patch)
tree350c723ccd29b4069be116a0707858922c7d45d7 /source4/libcli
parentcc60d5a0320f824f7dc7b8abbe9cb0ccd668dda2 (diff)
downloadsamba-2a336a63d704b1a5cf8e9a2961f48285081256ac.tar.gz
samba-2a336a63d704b1a5cf8e9a2961f48285081256ac.tar.bz2
samba-2a336a63d704b1a5cf8e9a2961f48285081256ac.zip
libcli/smb2: add SMB2_CREATE_OPTIONS_NOT_SUPPORTED_MASK
SMB2 returns NOT_SUPPORTED to some more NTCREATE_OPTIONS. metze (This used to be commit 3ea08d430370717463ffab44fed9c42db1002d97)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/smb2/smb2.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/libcli/smb2/smb2.h b/source4/libcli/smb2/smb2.h
index 5d6341a15b..f00107de60 100644
--- a/source4/libcli/smb2/smb2.h
+++ b/source4/libcli/smb2/smb2.h
@@ -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