diff options
Diffstat (limited to 'samba')
-rw-r--r-- | samba/smb-shares.conf.m4 | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/samba/smb-shares.conf.m4 b/samba/smb-shares.conf.m4 index dc51dde..c989d68 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.12 2002-07-07 17:07:39 jonas Exp $ +$Id: smb-shares.conf.m4,v 1.13 2002-07-07 17:15:52 jonas Exp $ m4 share definitions for generating Samba server smb.conf include file @@ -30,7 +30,7 @@ where ro|rw|rop|rwp: Read-only or read/write access to mount point, and wether it should be private (not publically announced). Private read-only access if undefined. _homefiles are always private. - <group>: Primary group with access to mountpoint. If mount point is r/w then primary group has r/w access as well. + <group>: Primary group with access to mountpoint. If mount point has access "rw" then primary group has read/write access as well. <othergroup>: Secondary group with readonly access Example: @@ -117,6 +117,10 @@ define(<_private>)dnl $8,rw, <dnl define(<_user_write>)dnl + ifdef($9, + ifelse($9,,, +define(<_group_write>)dnl +))dnl >, $8,rwp, <dnl @@ -125,12 +129,6 @@ define(<_private>)dnl >, _warn(<share access is wrong. Must be either "ro", "rop", "rw" or "rwp">)dnl ))dnl -ifdef($9, - ifelse($9,, - _warn(<share access is "rw" or "rwp" but no group is specified>), - ifdef(<_user_write>, -define(<_group_write>)dnl -)))dnl ifdef(<_user_write>, < writeable = yes >ifdef(<_group_write>, |