diff options
-rw-r--r-- | samba/smb_jawa.homebase.dk.conf.m4 | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/samba/smb_jawa.homebase.dk.conf.m4 b/samba/smb_jawa.homebase.dk.conf.m4 new file mode 100644 index 0000000..287b8cd --- /dev/null +++ b/samba/smb_jawa.homebase.dk.conf.m4 @@ -0,0 +1,64 @@ +define(_pcshare,[$1] + comment = $2 + path = $3 + browsable = yes + guest ok = no + writeable = yes + create mask = 0660 + directory mask = 0770 + valid users = @$4 + force group = +$4 +)dnl +define(_macshare,[$1] + comment = $2 + path = $3 + browsable = yes + guest ok = no + writeable = no + valid users = @$4 + veto files = /.AppleDouble/.AppleDesktop/Network Trash Folder/DesktopFolderDB/resource.frk/Icon^M/TheVolumeSettingsFolder/ +)dnl +define(_commonshare,[$1] + comment = $2 + path = $3 + browsable = yes + guest ok = no + writeable = yes + create mask = 0660 + directory mask = 0770 + valid users = @$4 + force group = +$4 + delete veto files = Yes + veto files = /.AppleDouble/.AppleDesktop/Network Trash Folder/DesktopFolderDB/resource.frk/Icon^M/TheVolumeSettingsFolder/ +)dnl +[netlogon] + comment = Network logon + path = $(netlogshare) + browsable = no + writeable = no + share modes = no +[userprofiles] + path = $(profshare) + force user = %u + writable = yes + browsable = yes + root preexec = '/bin/mkdir $(profshare)/%U \ + /bin/chown %U $(profshare)/%U \ + /bin/chmod 700 $(profshare)/%U' +[homes] + path = %H/$(privpcshare) + browsable = no + writeable = yes + root preexec = '/bin/mkdir %H/$(privpcshare) \ + /bin/chown %S %H/$(privpcshare) \ + /bin/chmod 700 %H/$(privpcshare)' +_macshare(hb,Homebase Arkiver,/volumes/homebase/hb/hb/,hb) +[media] + comment = Mp3 filer, film, spil etc. + path = /home/jrisch/media + public = no + valid users = @mp3 + force group = +mp3 + writable = yes + create mask = 0660 + directory mask = 0770 |