summaryrefslogtreecommitdiff
path: root/samba
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2002-03-20 16:03:50 +0000
committerJonas Smedegaard <dr@jones.dk>2002-03-20 16:03:50 +0000
commitae309d7a6384bafb7e4dbf5ec9760aade54122b2 (patch)
treea3dccc8ee84962bdbc726b37ff5db9af9637157f /samba
parent19b2c6c5f3313311ec5cb6c4017a0f338af1a926 (diff)
samba: Fisrt attempt at m4-based config for jawa.
Diffstat (limited to 'samba')
-rw-r--r--samba/smb_jawa.homebase.dk.conf.m464
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