summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-08-20 20:54:32 +0000
committerJeremy Allison <jra@samba.org>2002-08-20 20:54:32 +0000
commitf744db7a5dee0764bb41c43336b1b1a933a79682 (patch)
tree9906c01cdbf8c7b7b7e42e4d076640a0ac91abe6 /source3/include
parentd9a4055174862c87c737685eb554429e2cd985d2 (diff)
downloadsamba-f744db7a5dee0764bb41c43336b1b1a933a79682.tar.gz
samba-f744db7a5dee0764bb41c43336b1b1a933a79682.tar.bz2
samba-f744db7a5dee0764bb41c43336b1b1a933a79682.zip
IFSTEST fixes for open fid, nametoolong.
Jeremy. (This used to be commit e53a81261ed189881c0f07e1b46f97aa6770cab7)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 1ff0f1c328..091ef780ad 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1148,17 +1148,17 @@ struct bitmap {
#define FILE_SHARE_DELETE 4
/* FileAttributesField */
-#define FILE_ATTRIBUTE_READONLY aRONLY
-#define FILE_ATTRIBUTE_HIDDEN aHIDDEN
-#define FILE_ATTRIBUTE_SYSTEM aSYSTEM
-#define FILE_ATTRIBUTE_DIRECTORY aDIR
-#define FILE_ATTRIBUTE_ARCHIVE aARCH
-#define FILE_ATTRIBUTE_NORMAL 0x80L
-#define FILE_ATTRIBUTE_TEMPORARY 0x100L
-#define FILE_ATTRIBUTE_SPARSE 0x200L
-#define FILE_ATTRIBUTE_COMPRESSED 0x800L
-#define FILE_ATTRIBUTE_NONINDEXED 0x2000L
-#define SAMBA_ATTRIBUTES_MASK 0x7F
+#define FILE_ATTRIBUTE_READONLY 0x001L
+#define FILE_ATTRIBUTE_HIDDEN 0x002L
+#define FILE_ATTRIBUTE_SYSTEM 0x004L
+#define FILE_ATTRIBUTE_DIRECTORY 0x010L
+#define FILE_ATTRIBUTE_ARCHIVE 0x020L
+#define FILE_ATTRIBUTE_NORMAL 0x080L
+#define FILE_ATTRIBUTE_TEMPORARY 0x100L
+#define FILE_ATTRIBUTE_SPARSE 0x200L
+#define FILE_ATTRIBUTE_COMPRESSED 0x800L
+#define FILE_ATTRIBUTE_NONINDEXED 0x2000L
+#define SAMBA_ATTRIBUTES_MASK 0x7F
/* Flags - combined with attributes. */
#define FILE_FLAG_WRITE_THROUGH 0x80000000L
@@ -1186,6 +1186,7 @@ struct bitmap {
#define FILE_EIGHT_DOT_THREE_ONLY 0x0400
#define FILE_RANDOM_ACCESS 0x0800
#define FILE_DELETE_ON_CLOSE 0x1000
+#define FILE_OPEN_BY_FILE_ID 0x2000
/* Responses when opening a file. */
#define FILE_WAS_OPENED 1