summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-10-14 01:09:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:04:59 -0500
commita1eb5255042c3ff246e27a3cd3cdfd869c5542d3 (patch)
treed3bc22ba07ca4b99d07d23eb7bc4d3e00dfef02c /source3/include
parentca0a4c8c68c5b2ed1d6ef0e524500fba77ef4b3c (diff)
downloadsamba-a1eb5255042c3ff246e27a3cd3cdfd869c5542d3.tar.gz
samba-a1eb5255042c3ff246e27a3cd3cdfd869c5542d3.tar.bz2
samba-a1eb5255042c3ff246e27a3cd3cdfd869c5542d3.zip
r10979: After discussions on IRC about profile shares,
added new parameter : map readonly = [yes|no|permissions] If yes: map inverse of user "w" bit to mean readonly. If no: never set DOS readonly bit. If permissions: check file permissions for user and set readonly bit if the current user cannot write. If store dos attributes is set to yes then this parameter is ignored. Jeremy. (This used to be commit da4238d18c7a57d1264db8517fb027a10a11baed)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 922864ecff..e3d151f9ed 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1723,4 +1723,7 @@ typedef struct uuid_flat {
uint8 info[UUID_FLAT_SIZE];
} UUID_FLAT;
+/* map readonly options */
+enum mapreadonly_options {MAP_READONLY_NO, MAP_READONLY_YES, MAP_READONLY_PERMISSIONS};
+
#endif /* _SMB_H */