From 878198f7985c394445574d2a63b4c4cf55e9139b Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 20 Mar 2002 18:45:22 +0000 Subject: samba: Final introduction of m4 to samba\! --- samba/smb_jawa.homebase.dk.conf.m4 | 90 +++++++++++--------------------------- 1 file changed, 26 insertions(+), 64 deletions(-) (limited to 'samba') diff --git a/samba/smb_jawa.homebase.dk.conf.m4 b/samba/smb_jawa.homebase.dk.conf.m4 index 287b8cd..f3de4f1 100644 --- a/samba/smb_jawa.homebase.dk.conf.m4 +++ b/samba/smb_jawa.homebase.dk.conf.m4 @@ -1,64 +1,26 @@ -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 +include(smb-shares.m4)dnl +_share_mac(hb,Homebase Arkiver (Mac),/volumes/homebase/hb/hb,hb) +_share_mac(hbsoft,Homebase Software (Mac),/volumes/homebase/hb/admin,hb) +_share_mac(admin,Homebase Teknik (Mac),/volumes/homebase/admin/admin,admin) +dnl +_share_mac(fl,Frontløberne Fællesarkiver (Mac),/volumes/misc/fl/fl,fl) +_share_mac(fllock,Frontløberne Låste arkiver (Mac),/volumes/misc/fl/flstab,fl) +_share_mac(flstab,Frontløberne Stabsarkiver (Mac),/volumes/misc/flstab/flstab,flstab) +dnl +_share_mac(js,`Software, dr.jones',/var/local/netatalk/COMMON/C/software/users/jonas/,users) +_share_mac(js,`Software, engelsk, dr.jones',/var/local/netatalk/COMMON/en/software/users/jonas/,users) +_share_mac(js,`Software, dansk, dr.jones',/var/local/netatalk/COMMON/da/software/users/jonas/,users) +dnl +_share_mac(js,`Admin, dr.jones',/var/local/netatalk/COMMON/C/admin/users/jonas/,admin) +_share_mac(js,`Admin, engelsk, dr.jones',/var/local/netatalk/COMMON/en/admin/users/jonas/,admin) +_share_mac(js,`Admin, dansk, dr.jones',/var/local/netatalk/COMMON/da/admin/users/jonas/,admin) +dnl +_share_mac(km,KaosManagement Arkiver (Mac),/volumes/km/km/km,km) +_share_mac(kmstab,KaosMAnagement Administration (Mac),/volumes/km/kmstab/kmstab,kmstab) +dnl +_share_mac(kp,KaosPiloterne Fællesarkiver (Mac),/volumes/kp/kp/kp,kp) +_share_mac(kplock,KaosPiloterne Låste arkiver (Mac),/volumes/kp/kp/kpstab,kp) +_share_mac(kpstab,KaosPiloterne Stabsarkiver (Mac),/volumes/kp/kpstab/kpstab,kpstab) +dnl +_share_mac(fl,Café Kølbert (Mac),/volumes/misc/kolbert/kolbert,kolbert) +dnl -- cgit v1.2.3