summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--file-debian.cafe3.local.m426
-rw-r--r--samba/smb-shares.conf.m44
2 files changed, 28 insertions, 2 deletions
diff --git a/file-debian.cafe3.local.m4 b/file-debian.cafe3.local.m4
new file mode 100644
index 0000000..25f3839
--- /dev/null
+++ b/file-debian.cafe3.local.m4
@@ -0,0 +1,26 @@
+dnl
+dnl /etc/local/file-debian.cafe3.local.m4
+dnl Copyright 2002 Jonas Smedegaard <dr@jones.dk>
+dnl
+dnl $Id: file-debian.cafe3.local.m4,v 1.1 2002-09-12 08:24:44 jonas Exp $
+dnl
+dnl Shares for Samba and Netatalk servers
+dnl
+dnl Used by /etc/cfengine/cf.local.services.file.conf.m4 and /etc/samba/smb-shares.m4
+dnl
+_dir(any,/home/fsadmin,fsadmin,fsadmin,755)
+_files(win,netlogon,Network logon,/etc/samba/netlogon,root,root,755,ro)
+_files(win,userprofiles,User profiles,/home/fsadmin/pc_userprofiles,root,root,755)
+_files(win,reference,DEBIAN: Samba Linux server,/home/fsadmin/pc_reference,root,root,755)
+dnl
+_homefiles(win,homes,Personal Windows documents,%H/pc)
+_homefiles(win,home_mac,Personal Macintosh documents,%H/mac,ro)
+_homefiles(win,home_web,Personal web documents,%H/public_html,rw)
+dnl
+_homefiles(win,home_xch,Personal documents readable by group,%H/xchange)
+_files(win,doc_xch,All documents readable by group,/home/fsadmin/files_xchange)
+dnl
+_files(win,doc,Shared Windows documents,/home/fsadmin/pc_doc,users,users,775,rw,users)
+_files(win,doc_mac,Shared Macintosh documents,/home/fsadmin/mac_doc,users,users,755,ro,users)
+dnl
+_printer(win,HP2100,Networkprinter queue for HP 2100 (postscript level 3),/tmp,hp2100)
diff --git a/samba/smb-shares.conf.m4 b/samba/smb-shares.conf.m4
index fc6123f..abe0e8b 100644
--- a/samba/smb-shares.conf.m4
+++ b/samba/smb-shares.conf.m4
@@ -2,7 +2,7 @@ ifelse(`
/etc/samba/smb-shares.m4
Copyright 2002 Jonas Smedegaard <dr@jones.dk>
-$Id: smb-shares.conf.m4,v 1.15 2002-07-07 21:08:08 jonas Exp $
+$Id: smb-shares.conf.m4,v 1.16 2002-09-12 08:24:44 jonas Exp $
m4 share definitions for generating Samba server smb.conf include file
@@ -169,7 +169,7 @@ define(<_homefiles_access>, <rwp>)dnl
ifdef($5,
ifelse($5,ro,
define(<_homefiles_access>, <rop>)))dnl
-<_files($1,$2,$3,$4,,,,_homefiles_access)>dnl
+<_files($1,$2,$3,$4,,,,<_homefiles_access>)>dnl
)>)dnl
define(<_printer>,
<ifelse($1,win,