summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/smb.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 07a53de8e6..b87caf2da6 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1207,7 +1207,12 @@ struct bitmap {
#define FILE_ATTRIBUTE_OFFLINE 0x1000L
#define FILE_ATTRIBUTE_NONINDEXED 0x2000L
#define FILE_ATTRIBUTE_ENCRYPTED 0x4000L
-#define SAMBA_ATTRIBUTES_MASK 0x7F
+#define SAMBA_ATTRIBUTES_MASK (FILE_ATTRIBUTE_READONLY|\
+ FILE_ATTRIBUTE_HIDDEN|\
+ FILE_ATTRIBUTE_SYSTEM|\
+ FILE_ATTRIBUTE_DIRECTORY|\
+ FILE_ATTRIBUTE_ARCHIVE|\
+ FILE_ATTRIBUTE_SPARSE)
/* Flags - combined with attributes. */
#define FILE_FLAG_WRITE_THROUGH 0x80000000L