blob: 2c1469f146c643098efb8b2f08ff680012e5a113 (
plain)
- define(_veto_mac,/.AppleDouble/.AppleDesktop/Network Trash Folder/DesktopFolderDB/resource.frk/Icon^M/TheVolumeSettingsFolder/)dnl
- dnl
- dnl Common share options
- dnl --------------------
- dnl
- dnl $1 Share name
- dnl $2 Description
- dnl $3 Path
- dnl
- define(_share_logon,[$1]
- comment = $2
- path = $3
- )dnl
- define(_share_profiles,[$1]
- comment = $2
- path = $3
- force user = %u
- writable = yes
- browsable = yes
- root preexec = '/bin/mkdir $3/%U \
- /bin/chown %U $3/%U \
- /bin/chmod 700 $3/%U'
- )dnl
- define(_share_reference,[$1]
- comment = $2
- path = $3
- guest ok = yes
- )dnl
- dnl
- define(_share_home,[$1]
- comment = $2
- path = $3
- writeable = yes
- root preexec = '/bin/mkdir $3 \
- /bin/chown %S $3 \
- /bin/chmod 700 $3'
- )dnl
- define(_share_home_mac,[home_mac]
- comment = $1
- path = $2
- )dnl
- define(_share_home_web,[$1]
- comment = $2
- path = $3
- writeable = yes
- create mask = 0644
- directory mask = 0755
- )dnl
- dnl
- define(_share_pc,[$1]
- comment = $2
- path = $3
- browsable = yes
- writeable = yes
- create mask = 0660
- directory mask = 0770
- valid users = @$4
- force group = +$4
- )dnl
- define(_share_mac,[$1]
- comment = $2
- path = $3
- browsable = yes
- valid users = @$4
- veto files = _veto_mac
- )dnl
- define(_share_common,[$1]
- comment = $2
- path = $3
- browsable = yes
- writeable = yes
- create mask = 0660
- directory mask = 0770
- valid users = @$4
- force group = +$4
- delete veto files = Yes
- veto files = _veto_mac
- )dnl
- define(_share_printer,[$1]
- comment = $2
- path = $3
- printable = yes
- printer name = $4
- )dnl
|