summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-12-17 10:22:58 -0800
committerJeremy Allison <jra@samba.org>2010-12-17 21:11:04 +0100
commit2c10c3496876892eb4a89b57c909c3ca397a7440 (patch)
tree45a8bc9216f55796cac0cfa5753ba435db8633f4 /source3/include
parent5c27dd67c8eb454deffa611971778984381d6db8 (diff)
downloadsamba-2c10c3496876892eb4a89b57c909c3ca397a7440.tar.gz
Update our attribute flags.
Diffstat (limited to 'source3/include')
-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 07a53de8e6e..b87caf2da6e 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