summaryrefslogtreecommitdiffstats
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-07-16 14:00:18 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-07-16 14:00:18 +1000
commite92125e6319d49185a3d0456a8a0e5c1b8d364e7 (patch)
tree04e5ff58c418118219b05d25e1935c07c3304a15 /source4/libcli
parent376b2a29d6a5d56be8539beec80540772cda875e (diff)
downloadsamba-e92125e6319d49185a3d0456a8a0e5c1b8d364e7.tar.gz
samba-e92125e6319d49185a3d0456a8a0e5c1b8d364e7.tar.xz
samba-e92125e6319d49185a3d0456a8a0e5c1b8d364e7.zip
Ignore and handle more NT Create & X options.
The MS-SMB document explains that some of these options should be ignored. The test proves it. /* Must be ignored by the server, per MS-SMB 2.2.8 */ /* Must be ignored by the server, per MS-SMB 2.2.8 */ If we implement HSM in samba4 (likely) we should honour this bit. /* Don't pull this file off tape in a HSM system */ Andrew Bartlett (This used to be commit 502739ff90d56d2c9aabe8e224317f6ceb175c17)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/raw/smb.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/source4/libcli/raw/smb.h b/source4/libcli/raw/smb.h
index 5a92b997570..f54e979de2b 100644
--- a/source4/libcli/raw/smb.h
+++ b/source4/libcli/raw/smb.h
@@ -156,15 +156,20 @@
#define NTCREATEX_OPTIONS_DELETE_ON_CLOSE 0x1000
#define NTCREATEX_OPTIONS_OPEN_BY_FILE_ID 0x2000
#define NTCREATEX_OPTIONS_BACKUP_INTENT 0x4000
-#define NTCREATEX_OPTIONS_REPARSE_POINT 0x200000
-#define NTCREATEX_OPTIONS_UNKNOWN_400000 0x400000
+/* Must be ignored by the server, per MS-SMB 2.2.8 */
+#define NTCREATEX_OPTIONS_OPFILTER 0x00100000
+#define NTCREATEX_OPTIONS_REPARSE_POINT 0x00200000
+/* Don't pull this file off tape in a HSM system */
+#define NTCREATEX_OPTIONS_NO_RECALL 0x00400000
+/* Must be ignored by the server, per MS-SMB 2.2.8 */
+#define NTCREATEX_OPTIONS_FREE_SPACE_QUERY 0x00800000
/* create options these bits are for private use by backends, they are
not valid on the wire */
#define NTCREATEX_OPTIONS_PRIVATE_MASK 0xFF000000
#define NTCREATEX_OPTIONS_PRIVATE_DENY_DOS 0x01000000
#define NTCREATEX_OPTIONS_PRIVATE_DENY_FCB 0x02000000
-#define NTCREATEX_OPTIONS_NOT_SUPPORTED_MASK 0x00DFA188
+#define NTCREATEX_OPTIONS_NOT_SUPPORTED_MASK 0x000FA188