summaryrefslogtreecommitdiff
path: root/samba/smb_jawa.homebase.dk.conf.m4
blob: 287b8cd434be1e70de8c8ff6422fc1e8394af09d (plain)
  1. define(_pcshare,[$1]
  2.     comment = $2
  3. path = $3
  4. browsable = yes
  5. guest ok = no
  6. writeable = yes
  7. create mask = 0660
  8. directory mask = 0770
  9. valid users = @$4
  10. force group = +$4
  11. )dnl
  12. define(_macshare,[$1]
  13. comment = $2
  14. path = $3
  15. browsable = yes
  16. guest ok = no
  17. writeable = no
  18. valid users = @$4
  19. veto files = /.AppleDouble/.AppleDesktop/Network Trash Folder/DesktopFolderDB/resource.frk/Icon^M/TheVolumeSettingsFolder/
  20. )dnl
  21. define(_commonshare,[$1]
  22. comment = $2
  23. path = $3
  24. browsable = yes
  25. guest ok = no
  26. writeable = yes
  27. create mask = 0660
  28. directory mask = 0770
  29. valid users = @$4
  30. force group = +$4
  31. delete veto files = Yes
  32. veto files = /.AppleDouble/.AppleDesktop/Network Trash Folder/DesktopFolderDB/resource.frk/Icon^M/TheVolumeSettingsFolder/
  33. )dnl
  34. [netlogon]
  35. comment = Network logon
  36. path = $(netlogshare)
  37. browsable = no
  38. writeable = no
  39. share modes = no
  40. [userprofiles]
  41. path = $(profshare)
  42. force user = %u
  43. writable = yes
  44. browsable = yes
  45. root preexec = '/bin/mkdir $(profshare)/%U \
  46. /bin/chown %U $(profshare)/%U \
  47. /bin/chmod 700 $(profshare)/%U'
  48. [homes]
  49. path = %H/$(privpcshare)
  50. browsable = no
  51. writeable = yes
  52. root preexec = '/bin/mkdir %H/$(privpcshare) \
  53. /bin/chown %S %H/$(privpcshare) \
  54. /bin/chmod 700 %H/$(privpcshare)'
  55. _macshare(hb,Homebase Arkiver,/volumes/homebase/hb/hb/,hb)
  56. [media]
  57. comment = Mp3 filer, film, spil etc.
  58. path = /home/jrisch/media
  59. public = no
  60. valid users = @mp3
  61. force group = +mp3
  62. writable = yes
  63. create mask = 0660
  64. directory mask = 0770