summaryrefslogtreecommitdiff
path: root/samba
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2002-07-07 17:07:39 +0000
committerJonas Smedegaard <dr@jones.dk>2002-07-07 17:07:39 +0000
commit0d08b9363760cb78ea00102f8a925e2e3fcf71f9 (patch)
tree28b5ca9d0b74e21044c408ec8b0d66c1f1f72cc4 /samba
parente9103454a9c8303f7b1fb32d450fb1c05ea53064 (diff)
samba: m4 script: Implement the lack of _homefiles option <ro>.
Diffstat (limited to 'samba')
-rw-r--r--samba/smb-shares.conf.m411
1 files changed, 8 insertions, 3 deletions
diff --git a/samba/smb-shares.conf.m4 b/samba/smb-shares.conf.m4
index 002369f..dc51dde 100644
--- a/samba/smb-shares.conf.m4
+++ b/samba/smb-shares.conf.m4
@@ -2,7 +2,7 @@ ifelse(`
/etc/samba/smb-shares.m4
Copyright 2002 Jonas Smedegaard <dr@jones.dk>
-$Id: smb-shares.conf.m4,v 1.11 2002-07-07 16:14:33 jonas Exp $
+$Id: smb-shares.conf.m4,v 1.12 2002-07-07 17:07:39 jonas Exp $
m4 share definitions for generating Samba server smb.conf include file
@@ -127,7 +127,7 @@ define(<_private>)dnl
))dnl
ifdef($9,
ifelse($9,,
- _warn(<share group is "rw" or "rwp" but no group is specified>),
+ _warn(<share access is "rw" or "rwp" but no group is specified>),
ifdef(<_user_write>,
define(<_group_write>)dnl
)))dnl
@@ -164,7 +164,12 @@ ifdef(<_veto>,
>)dnl
define(<_homefiles>,
<ifelse($1,win,
-<_files($1,$2,$3,$4,,,,$5p)>)>)dnl
+define(<_homefiles_access>, <rwp>)dnl
+ifdef($5,
+ ifelse($5,ro,
+define(<_homefiles_access>, <rop>)))dnl
+<_files($1,$2,$3,$4,,,,_homefiles_access)>dnl
+)>)dnl
define(<_printer>,
<ifelse($1,win,
[$2]