summaryrefslogtreecommitdiff
path: root/samba
diff options
context:
space:
mode:
Diffstat (limited to 'samba')
-rw-r--r--samba/netlogon/common.bat6
-rw-r--r--samba/netlogon/logon-divitech.bat6
-rw-r--r--samba/netlogon/logon-gandalf.xenux.local.bat7
-rw-r--r--samba/netlogon/logon-ida.idaskolen.dk.bat11
-rw-r--r--samba/netlogon/logon-lab.bat6
-rw-r--r--samba/netlogon/logon-ntiexpo.bat7
-rw-r--r--samba/netlogon/logon-radio-raatstof.bat6
-rw-r--r--samba/netlogon/logon-sagahus.bat6
-rw-r--r--samba/smb-printers-cups.conf52
-rw-r--r--samba/smb-printers-lprng.conf53
-rw-r--r--samba/smb-shares-cafe3.conf240
-rw-r--r--samba/smb-shares-divitech.conf155
-rw-r--r--samba/smb-shares-radio-raatstof.conf167
-rw-r--r--samba/smb-shares-sagahus.conf155
-rw-r--r--samba/smb-shares-venture.conf95
-rw-r--r--samba/smb-shares-xenuxlocal.conf198
-rw-r--r--samba/smb-shares.conf.m4184
-rw-r--r--samba/smb.anarchy.conf12
-rw-r--r--samba/smb.distrib.conf60
-rw-r--r--samba/smb.mac.conf4
-rw-r--r--samba/smb.mac.new-conf4
-rw-r--r--samba/smb.managed.conf31
-rw-r--r--samba/smb.private.conf33
-rw-r--r--samba/smb.public.conf11
-rw-r--r--samba/smb.web.conf8
-rw-r--r--samba/smb.xchange.conf11
26 files changed, 0 insertions, 1528 deletions
diff --git a/samba/netlogon/common.bat b/samba/netlogon/common.bat
deleted file mode 100644
index b6aec69..0000000
--- a/samba/netlogon/common.bat
+++ /dev/null
@@ -1,6 +0,0 @@
-rem [Global] commands
-NET TIME \\server /SET /YES
-NET USE F: \\server\dokumenter /YES
-NET USE U: \\server\homes /YES
-NET USE P: \\server\programmer /YES
- \ No newline at end of file
diff --git a/samba/netlogon/logon-divitech.bat b/samba/netlogon/logon-divitech.bat
deleted file mode 100644
index 8eb6e45..0000000
--- a/samba/netlogon/logon-divitech.bat
+++ /dev/null
@@ -1,6 +0,0 @@
-rem [Global] commands
-NET TIME \\baal /SET /YES
-NET USE W: \\baal\dokumenter /YES
-NET USE X: \\baal\homes /YES
-NET USE Y: \\baal\software /YES
- \ No newline at end of file
diff --git a/samba/netlogon/logon-gandalf.xenux.local.bat b/samba/netlogon/logon-gandalf.xenux.local.bat
deleted file mode 100644
index 2293fe7..0000000
--- a/samba/netlogon/logon-gandalf.xenux.local.bat
+++ /dev/null
@@ -1,7 +0,0 @@
-rem [Global] commands
-@ECHO "Welcome to Xenux' network!!!"
-NET TIME \\gandalf /SET /YES
-NET USE W: \\gandalf\dokumenter /YES
-NET USE X: \\gandalf\homes /YES
-NET USE Y: \\gandalf\software /YES
- \ No newline at end of file
diff --git a/samba/netlogon/logon-ida.idaskolen.dk.bat b/samba/netlogon/logon-ida.idaskolen.dk.bat
deleted file mode 100644
index f3fa1e2..0000000
--- a/samba/netlogon/logon-ida.idaskolen.dk.bat
+++ /dev/null
@@ -1,11 +0,0 @@
-echo Welcome to this Debian Samba server !
-echo.
-net use F: \\IDA\doc
-net use G: \\IDA\adm
-net use H: \\IDA\doc_mac
-net use I: \\IDA\adm_mac
-rem net use LPT1 \\IDA\HP2100
-rem net use LPT2 \\IDA\HP2100
-rem net use LPT3 \\IDA\HP2100
-net time \\IDA /YES
-rem pause
diff --git a/samba/netlogon/logon-lab.bat b/samba/netlogon/logon-lab.bat
deleted file mode 100644
index c672340..0000000
--- a/samba/netlogon/logon-lab.bat
+++ /dev/null
@@ -1,6 +0,0 @@
-rem [Global] commands
-NET TIME \\baal /SET /YES
-NET USE W: \\baal\dokumenter /YES
-NET USE X: \\baal\homes /YES
-NET USE Y: \\baal\software /YES
- \ No newline at end of file
diff --git a/samba/netlogon/logon-ntiexpo.bat b/samba/netlogon/logon-ntiexpo.bat
deleted file mode 100644
index a8e666e..0000000
--- a/samba/netlogon/logon-ntiexpo.bat
+++ /dev/null
@@ -1,7 +0,0 @@
-rem [Global] commands
-NET TIME \\balrog /SET /YES
-NET USE V: \\balrog\pdfshare /YES
-NET USE W: \\balrog\dokumenter /YES
-NET USE X: \\balrog\homes /YES
-NET USE Y: \\balrog\programmer /YES
- \ No newline at end of file
diff --git a/samba/netlogon/logon-radio-raatstof.bat b/samba/netlogon/logon-radio-raatstof.bat
deleted file mode 100644
index 6e85c64..0000000
--- a/samba/netlogon/logon-radio-raatstof.bat
+++ /dev/null
@@ -1,6 +0,0 @@
-rem [Global] commands
-NET TIME \\raatstof /SET /YES
-NET USE W: \\raatstof\faellesdrev /YES
-NET USE X: \\raatstof\homes /YES
-NET USE Y: \\raatstof\software /YES
-
diff --git a/samba/netlogon/logon-sagahus.bat b/samba/netlogon/logon-sagahus.bat
deleted file mode 100644
index 23d8bc7..0000000
--- a/samba/netlogon/logon-sagahus.bat
+++ /dev/null
@@ -1,6 +0,0 @@
-rem [Global] commands
-NET TIME \\saga /SET /YES
-NET USE W: \\saga\dokumenter /YES
-NET USE X: \\saga\homes /YES
-NET USE Y: \\saga\software /YES
- \ No newline at end of file
diff --git a/samba/smb-printers-cups.conf b/samba/smb-printers-cups.conf
deleted file mode 100644
index 111116c..0000000
--- a/samba/smb-printers-cups.conf
+++ /dev/null
@@ -1,52 +0,0 @@
-control:
- AddInstallable = ( samba samba_reload )
-
- #
- # Variables for the print spooldir
- # You can change the rights on the dir in the "directories:"
- # section.
- #
- printdir = ( /var/spool/lpd/sharedprinter )
-
-editfiles:
- samba::
- { /etc/samba/smb-printers.conf
- AutoCreate
- #
- # [netlogon]
- #
- BeginGroupIfNoLineMatching "^\[printers\]"
- Append '[printers]'
- Append ' comment = %S printer'
- Append ' path = /tmp'
- Append ' printing = cups'
- Append ' public = yes'
- Append ' printable = yes'
- EndGroup
- DefineClasses "samba_reload"
- }
-
- samba_reload::
- { /etc/samba/smb-printers.conf
- LocateLineMatching "^; EDITED BY CFENGINE .*"
- ReplaceAll '; EDITED BY CFENGINE .*$' With '; EDITED BY CFENGINE $(date)'
- CatchAbort
- BeginGroupIfNoMatch "^; EDITED BY CFENGINE .*"
- Append '; EDITED BY CFENGINE $(date)'
- EndGroup
- }
-
-directories:
- samba::
- $(printdir)
- mode=770
- owner=root
- group=users
-
-processes:
- "smbd" restart "/etc/init.d/samba restart"
-
-shellcommands:
- samba_reload::
- "/etc/init.d/samba force-reload"
-
diff --git a/samba/smb-printers-lprng.conf b/samba/smb-printers-lprng.conf
deleted file mode 100644
index 12fc54c..0000000
--- a/samba/smb-printers-lprng.conf
+++ /dev/null
@@ -1,53 +0,0 @@
-control:
- AddInstallable = ( samba samba_reload )
-
- #
- # Variables for the print spooldir
- # You can change the rights on the dir in the "directories:"
- # section.
- #
- printdir = ( /var/spool/lpd/sharedprinter )
-
-editfiles:
- samba::
- { /etc/samba/smb-printers.conf
- AutoCreate
- #
- # [netlogon]
- #
- BeginGroupIfNoLineMatching "^\[printers\]"
- Append '[printers]'
- Append ' comment = %S printer'
- Append ' path = /tmp'
- Append ' printing = lprng'
- Append ' print command = /usr/bin/lpr -h -P%S -r %s'
- Append ' lprm command = /usr/bin/lprm -P%S %j'
- Append ' public = yes'
- Append ' printable = yes'
- EndGroup
- DefineClasses "samba_reload"
- }
-
- samba_reload::
- { /etc/samba/smb-printers.conf
- LocateLineMatching "^; EDITED BY CFENGINE .*"
- ReplaceAll '; EDITED BY CFENGINE .*$' With '; EDITED BY CFENGINE $(date)'
- CatchAbort
- BeginGroupIfNoMatch "^; EDITED BY CFENGINE .*"
- Append '; EDITED BY CFENGINE $(date)'
- EndGroup
- }
-
-directories:
- samba::
- $(printdir)
- mode=770
- owner=root
- group=users
-
-processes:
- "smbd" restart "/etc/init.d/samba restart"
-
-shellcommands:
- samba_reload::
- "/etc/init.d/samba force-reload"
diff --git a/samba/smb-shares-cafe3.conf b/samba/smb-shares-cafe3.conf
deleted file mode 100644
index 0a29d30..0000000
--- a/samba/smb-shares-cafe3.conf
+++ /dev/null
@@ -1,240 +0,0 @@
-control:
- AddInstallable = ( samba samba_reload )
-
- #
- # Variables for shares
- # You can change the paths here and it will be changed both in
- # the conf file and in the filesystem - But once it is implemented,
- # it is not wise to change it - the data in the shares doesn't get
- # moved!
- # You can change the rights on the shares in the "directories:"
- # section.
- #
- pcprvdir = ( "/home/%u" )
- commonsharedir = ( /home/fsadmin )
- profilshare = ( /home/fsadmin/pc_userprofiles )
- xchngshare = ( /home/fsadmin/pc_xchange )
- netlog = ( "netlogon" )
- netlogtxt = ( "Network logon" )
- netlogshare = ( /etc/samba/netlogon )
- privpctxt = ( "Pers. PC Documents" )
- privpcshare = ( pc )
- privmac = ( "pers_mac" )
- privmactxt = ( "Pers. Mac Documents" )
- privmacshare = ( mac )
- privwww = ( "pers_www" )
- privwwwtxt = ( "Pers. Web Documents" )
- privwwwshare = ( public_html )
- privxchng = ( "pers_shared" )
- privxchngtxt = ( "Pers. Shared Documents" )
- privxchngshare = ( xchange )
- data = ( "docs" )
- datatxt = ( "Shared Documents" )
- datashare = ( /home/fsadmin/pc_doc )
- soft = ( "software" )
- softtxt = ( "Shared Software" )
- softshare = ( /home/fsadmin/pc_software )
- admin = ( "admin" )
- admintxt = ( "Documentation and Admin Tools" )
- adminshare = ( /home/fsadmin/pc_admin )
-
- #
- # Shared group
- #
- sharedgrp = ( users )
-
- #
- # Administrative user and group
- #
- adminuser = ( fsadmin )
- admingrp = ( fsadmin )
-
- #
- # Misc common strings
- #
- pcvetofiles = ( "/.AppleDouble/.AppleDesktop/Network Trash Folder/DesktopFolderDB/resource.frk/Icon^M/TheVolumeSettingsFolder/" )
-
-editfiles:
- samba::
- { /etc/samba/smb-shares-$(site).conf
- #
- # This file contains the shares common to a site.
- # We check if the proper sections are there and add them if they
- # isn't. We don't check the file line for line.
- #
- AutoCreate
- #
- # [$(netlog)]
- #
- BeginGroupIfNoLineMatching "^\[$(netlog)\]"
- Append '[$(netlog)]'
- Append ' comment = $(netlogtxt)'
- Append ' path = $(netlogshare)'
- Append ' browsable = no'
- Append ' writeable = no'
- Append ' share modes = no'
- EndGroup
- #
- # [userprofiles]
- #
- BeginGroupIfNoLineMatching "^\[userprofiles\]"
- Append '[userprofiles]'
- Append ' path = $(profilshare)'
- Append ' force user = %u'
- Append ' browsable = yes'
- Append ' writable = yes'
- Append ' root preexec = /bin/mkdir $(profilshare)/%U \'
- Append ' /bin/chown %U: $(profilshare)/%U \'
- Append ' /bin/chmod 700 $(profilshare)/%U'
- EndGroup
- #
- # [homes]
- #
- BeginGroupIfNoLineMatching "^\[homes\]"
- Append '[homes]'
- Append ' comment = $(privpctxt)'
- Append ' path = $(pcprvdir)/$(privpcshare)'
- Append ' browsable = no'
- Append ' writable = yes'
- Append ' root preexec = /bin/mkdir $(pcprvdir)/$(privpcshare) \'
- Append ' /bin/chown %U: $(pcprvdir)/$(privpcshare) \'
- Append ' /bin/chmod 640 $(pcprvdir)/$(privpcshare)'
- EndGroup
- #
- # [$(privmac)]
- #
- BeginGroupIfNoLineMatching "^\[$(privmac)\]"
- Append '[$(privmac)]'
- Append ' comment = $(privmactxt)'
- Append ' path = $(pcprvdir)/$(privmacshare)'
- Append ' browsable = no'
- Append ' writable = no'
- EndGroup
- #
- # [$(privweb)]
- #
- BeginGroupIfNoLineMatching "^\[$(privwww)\]"
- Append '[$(privwww)]'
- Append ' comment = $(privwwwtxt)'
- Append ' path = $(pcprvdir)/$(privwwwshare)'
- Append ' browsable = no'
- Append ' writable = yes'
- Append ' root preexec = /bin/mkdir $(pcprvdir)/$(privwwwshare) \'
- Append ' /bin/chown %U: $(pcprvdir)/$(privwwwshare) \'
- Append ' /bin/chmod 644 $(pcprvdir)/$(privwwwshare)'
- EndGroup
- #
- # [$(privxchng)]
- #
- BeginGroupIfNoLineMatching "^\[$(privxchng)\]"
- Append '[$(privxchng)]'
- Append ' comment = $(privxchngtxt)'
- Append ' path = $(pcprvdir)/$(privxchngshare)'
- Append ' browsable = no'
- Append ' writable = yes'
- Append ' valid users = @$(sharedgrp)'
- Append ' force group = +$(sharedgrp)'
- Append ' root preexec = /bin/mkdir $(pcprvdir)/$(privpcshare) \'
- Append ' /bin/chown %U:$(sharedgrp) $(pcprvdir)/$(privpcshare) \'
- Append ' /bin/chmod 644 $(pcprvdir)/$(privpcshare) \'
- Append ' /bin/rm -f $(xchngshare) \'
- Append ' /bin/ln -dfs $(pcprvdir)/$(privxchngshare) $(xchngshare)'
- EndGroup
- #
- # [$(data)]
- #
- BeginGroupIfNoLineMatching "^\[$(data)\]"
- Append '[$(data)]'
- Append ' comment = $(datatxt)'
- Append ' path = $(datashare)'
- Append ' browsable = yes'
- Append ' guest ok = no'
- Append ' writeable = yes'
- Append ' create mask = 0660'
- Append ' directory mask = 0770'
- Append ' valid users = @$(admingrp)'
- Append ' force group = +$(admingrp)'
- Append ' delete veto files = Yes'
- Append ' veto files = $(pcvetofiles)'
- EndGroup
- #
- # [$(soft)]
- #
- BeginGroupIfNoLineMatching "^\[$(soft)\]"
- Append '[$(soft)]'
- Append ' comment = $(softtxt)'
- Append ' path = $(softshare)'
- Append ' browsable = yes'
- Append ' guest ok = no'
- Append ' writeable = yes'
- Append ' create mask = 0660'
- Append ' directory mask = 0770'
- Append ' valid users = @$(admingrp)'
- Append ' force group = +$(admingrp)'
- Append ' delete veto files = Yes'
- Append ' veto files = $(pcvetofiles)'
- EndGroup
- #
- # [$(admin)]
- #
- BeginGroupIfNoLineMatching "^\[$(admin)\]"
- Append '[$(admin)]'
- Append ' comment = $(admintxt)'
- Append ' path = $(adminshare)'
- Append ' browsable = yes'
- Append ' guest ok = yes'
- Append ' writeable = no'
- Append ' valid users = @$(admingrp)'
- Append ' force group = +$(admingrp)'
- EndGroup
- DefineClasses "samba_reload"
- }
-
- samba_reload::
- { /etc/samba/smb-shares-$(site).conf
- LocateLineMatching "^; EDITED BY CFENGINE .*"
- ReplaceAll '; EDITED BY CFENGINE .*$' With '; EDITED BY CFENGINE $(date)'
- CatchAbort
- BeginGroupIfNoMatch "^; EDITED BY CFENGINE .*"
- Append '; EDITED BY CFENGINE $(date)'
- EndGroup
- }
-
-directories:
- any::
- $(commonsharedir)
- mode=755
- owner=$(adminuser)
- group=$(admingrp)
- $(softshare)
- mode=775
- owner=$(adminuser)
- group=$(admingrp)
- $(datashare)
- mode=775
- owner=$(adminuser)
- group=$(admingrp)
- samba::
- $(netlogshare)
- mode=755
- owner=root
- group=root
- $(xchngshare)
- mode=755
- owner=root
- group=root
- $(profilshare)
- mode=775
- owner=$(adminuser)
- group=$(admingrp)
- $(adminshare)
- mode=755
- owner=$(adminuser)
- group=$(admingrp)
-
-processes:
- "smbd" restart "/etc/init.d/samba restart"
-
-shellcommands:
- samba_reload::
- "/etc/init.d/samba force-reload"
diff --git a/samba/smb-shares-divitech.conf b/samba/smb-shares-divitech.conf
deleted file mode 100644
index bbf84a2..0000000
--- a/samba/smb-shares-divitech.conf
+++ /dev/null
@@ -1,155 +0,0 @@
-control:
- AddInstallable = ( samba samba_reload )
-
- #
- # Variables for shares
- # You can change the paths here and it will be changed both in
- # the conf file and in the filesystem - But once it is implemented,
- # it is not wise to change it - the data in the shares doesn't get
- # moved!
- # You can change the rights on the shares in the "directories:"
- # section.
- #
- netlogshare = ( /etc/samba/netlogon )
- commonsharedir = ( /home/fsadmin/COMMON )
- datashare = ( /home/fsadmin/COMMON/documents )
- softshare = ( /home/fsadmin/COMMON/software )
- adminshare = ( /home/fsadmin/COMMON/admin )
- profshare = ( /home/fsadmin/COMMON/samba/userprofiles )
- privpcshare = ( .pcshare )
-
- #
- # Administrative user and group
- #
- adminuser = ( fsadmin )
- admingrp = ( fsadmin )
-
-editfiles:
- samba::
- { /etc/samba/smb-shares-$(site).conf
- #
- # This file contains the shares common to a site.
- # We check if the proper sections are there and add them if they
- # isn't. We don't check the file line for line.
- #
- AutoCreate
- #
- # [netlogon]
- #
- BeginGroupIfNoLineMatching "^\[netlogon\]"
- Append '[netlogon]'
- Append ' comment = Network logon'
- Append ' path = $(netlogshare)'
- Append ' browsable = no'
- Append ' writeable = no'
- Append ' share modes = no'
- EndGroup
- #
- # [userprofiles]
- #
- BeginGroupIfNoLineMatching "^\[userprofiles\]"
- Append '[userprofiles]'
- Append ' path = $(profshare)'
- Append ' force user = %u'
- Append ' browsable = yes'
- Append ' writable = yes'
- EndGroup
- #
- # [homes]
- #
- BeginGroupIfNoLineMatching "^\[homes\]"
- Append '[homes]'
- Append ' path = /home/%u/$(privpcshare)'
- Append ' browsable = no'
- Append ' writable = yes'
- EndGroup
- #
- # [programmer]
- #
- BeginGroupIfNoLineMatching "^\[software\]"
- Append '[software]'
- Append ' path = $(softshare)'
- Append ' comment = Fælles software'
- Append ' browsable = yes'
- Append ' guest ok = no'
- Append ' writeable = yes'
- Append ' create mask = 0660'
- Append ' directory mask = 0770'
- Append ' valid users = @$(admingrp)'
- Append ' force group = +$(admingrp)'
- EndGroup
- #
- # [dokumenter]
- #
- BeginGroupIfNoLineMatching "^\[dokumenter\]"
- Append '[dokumenter]'
- Append ' path = $(datashare)'
- Append ' comment = Fælles drev for delte filer'
- Append ' browsable = yes'
- Append ' guest ok = no'
- Append ' writeable = yes'
- Append ' create mask = 0660'
- Append ' directory mask = 0770'
- Append ' valid users = @$(admingrp)'
- Append ' force group = +$(admingrp)'
- EndGroup
- #
- # [dokumenter]
- #
- BeginGroupIfNoLineMatching "^\[admin\]"
- Append '[admin]'
- Append ' path = $(adminshare)'
- Append ' comment = Dokumentation og adminværktøjer'
- Append ' browsable = yes'
- Append ' guest ok = yes'
- Append ' writeable = no'
- Append ' valid users = @$(admingrp)'
- Append ' force group = +$(admingrp)'
- EndGroup
- DefineClasses "samba_reload"
- }
-
- samba_reload::
- { /etc/samba/smb-shares-$(site).conf
- LocateLineMatching "^; EDITED BY CFENGINE .*"
- ReplaceAll '; EDITED BY CFENGINE .*$' With '; EDITED BY CFENGINE $(date)'
- CatchAbort
- BeginGroupIfNoMatch "^; EDITED BY CFENGINE .*"
- Append '; EDITED BY CFENGINE $(date)'
- EndGroup
- }
-
-directories:
- any::
- $(commonsharedir)
- mode=755
- owner=$(adminuser)
- group=$(admingrp)
- $(softshare)
- mode=775
- owner=$(adminuser)
- group=$(admingrp)
- $(datashare)
- mode=775
- owner=$(adminuser)
- group=$(admingrp)
- samba::
- $(netlogshare)
- mode=755
- owner=root
- group=root
- $(profshare)
- mode=775
- owner=$(adminuser)
- group=$(admingrp)
- $(adminshare)
- mode=755
- owner=$(adminuser)
- group=$(admingrp)
-
-processes:
- "smbd" restart "/etc/init.d/samba restart"
-
-shellcommands:
- samba_reload::
- "/etc/init.d/samba force-reload"
diff --git a/samba/smb-shares-radio-raatstof.conf b/samba/smb-shares-radio-raatstof.conf
deleted file mode 100644
index 9237a92..0000000
--- a/samba/smb-shares-radio-raatstof.conf
+++ /dev/null
@@ -1,167 +0,0 @@
-control:
- AddInstallable = ( samba samba_reload )
-
- #
- # Variables for shares
- # You can change the paths here and it will be changed both in
- # the conf file and in the filesystem - But once it is implemented,
- # it is not wise to change it - the data in the shares doesn't get
- # moved!
- # You can change the rights on the shares in the "directories:"
- # section.
- #
- netlogshare = ( /etc/samba/netlogon )
- commonsharedir = ( /home/fsadmin/COMMON )
- datashare = ( /home/fsadmin/COMMON/documents )
- softshare = ( /home/fsadmin/COMMON/software )
- adminshare = ( /home/fsadmin/COMMON/admin )
- profshare = ( /home/fsadmin/COMMON/samba/userprofiles )
- privpcshare = ( .pcshare )
- privmacshare = ( .macshare )
- privxchngshare = ( .xchangeshare )
-
- #
- # Administrative user and group
- #
- adminuser = ( fsadmin )
- admingrp = ( fsadmin )
-
-editfiles:
- samba::
- { /etc/samba/smb-shares-$(site).conf
- #
- # This file contains the shares common to a site.
- # We check if the proper sections are there and add them if they
- # isn't. We don't check the file line for line.
- #
- AutoCreate
- #
- # [netlogon]
- #
- BeginGroupIfNoLineMatching "^\[netlogon\]"
- Append '[netlogon]'
- Append ' comment = Network logon'
- Append ' path = $(netlogshare)'
- Append ' browsable = no'
- Append ' writeable = no'
- Append ' share modes = no'
- EndGroup
- #
- # [userprofiles]
- #
- BeginGroupIfNoLineMatching "^\[userprofiles\]"
- Append '[userprofiles]'
- Append ' path = $(profshare)'
- Append ' force user = %u'
- Append ' browsable = yes'
- Append ' writable = yes'
- Append ' root preexec = '/bin/mkdir $(profshare)/%U \'
- Append ' /bin/chown %U $(profshare)/%U \'
- Append ' /bin/chmod 700 $(profshare)/%U''
- EndGroup
- #
- # [homes]
- #
- BeginGroupIfNoLineMatching "^\[homes\]"
- Append '[homes]'
- Append ' path = /home/%u/$(privpcshare)'
- Append ' browsable = no'
- Append ' writable = yes'
- Append ' root preexec = '/bin/mkdir /home/%u/$(privpcshare) \'
- Append ' /bin/chown %U /home/%u/$(privpcshare) \'
- Append ' /bin/chmod 644 /home/%u/$(privpcshare)''
- EndGroup
- #
- # [programmer]
- #
- BeginGroupIfNoLineMatching "^\[software\]"
- Append '[software]'
- Append ' path = $(softshare)'
- Append ' comment = Fælles software'
- Append ' browsable = yes'
- Append ' guest ok = no'
- Append ' writeable = yes'
- Append ' create mask = 0660'
- Append ' directory mask = 0770'
- Append ' valid users = @$(admingrp)'
- Append ' force group = +$(admingrp)'
- Append ' delete veto files = Yes'
- Append ' veto files = /.AppleDouble/.AppleDesktop/Network Trash Folder/DesktopFolderDB/resource.frk/Icon^M/TheVolumeSettingsFolder/'
- EndGroup
- #
- # [faellesdrev]
- #
- BeginGroupIfNoLineMatching "^\[faellesdrev\]"
- Append '[faellesdrev]'
- Append ' path = $(datashare)'
- Append ' comment = Fælles drev for delte filer'
- Append ' browsable = yes'
- Append ' guest ok = no'
- Append ' writeable = yes'
- Append ' create mask = 0660'
- Append ' directory mask = 0770'
- Append ' valid users = @$(admingrp)'
- Append ' force group = +$(admingrp)'
- Append ' delete veto files = Yes'
- Append ' veto files = /.AppleDouble/.AppleDesktop/Network Trash Folder/DesktopFolderDB/resource.frk/Icon^M/TheVolumeSettingsFolder/'
- EndGroup
- #
- # [dokumenter]
- #
- BeginGroupIfNoLineMatching "^\[admin\]"
- Append '[admin]'
- Append ' path = $(adminshare)'
- Append ' comment = Dokumentation og adminværktøjer'
- Append ' browsable = yes'
- Append ' guest ok = yes'
- Append ' writeable = no'
- Append ' valid users = @$(admingrp)'
- Append ' force group = +$(admingrp)'
- EndGroup
- DefineClasses "samba_reload"
- }
-
- samba_reload::
- { /etc/samba/smb-shares-$(site).conf
- LocateLineMatching "^; EDITED BY CFENGINE .*"
- ReplaceAll '; EDITED BY CFENGINE .*$' With '; EDITED BY CFENGINE $(date)'
- CatchAbort
- BeginGroupIfNoMatch "^; EDITED BY CFENGINE .*"
- Append '; EDITED BY CFENGINE $(date)'
- EndGroup
- }
-
-directories:
- any::
- $(commonsharedir)
- mode=755
- owner=$(adminuser)
- group=$(admingrp)
- $(softshare)
- mode=775
- owner=$(adminuser)
- group=$(admingrp)
- $(datashare)
- mode=775
- owner=$(adminuser)
- group=$(admingrp)
- samba::
- $(netlogshare)
- mode=755
- owner=root
- group=root
- $(profshare)
- mode=775
- owner=$(adminuser)
- group=$(admingrp)
- $(adminshare)
- mode=755
- owner=$(adminuser)
- group=$(admingrp)
-
-processes:
- "smbd" restart "/etc/init.d/samba restart"
-
-shellcommands:
- samba_reload::
- "/etc/init.d/samba force-reload"
diff --git a/samba/smb-shares-sagahus.conf b/samba/smb-shares-sagahus.conf
deleted file mode 100644
index bbf84a2..0000000
--- a/samba/smb-shares-sagahus.conf
+++ /dev/null
@@ -1,155 +0,0 @@
-control:
- AddInstallable = ( samba samba_reload )
-
- #
- # Variables for shares
- # You can change the paths here and it will be changed both in
- # the conf file and in the filesystem - But once it is implemented,
- # it is not wise to change it - the data in the shares doesn't get
- # moved!
- # You can change the rights on the shares in the "directories:"
- # section.
- #
- netlogshare = ( /etc/samba/netlogon )
- commonsharedir = ( /home/fsadmin/COMMON )
- datashare = ( /home/fsadmin/COMMON/documents )
- softshare = ( /home/fsadmin/COMMON/software )
- adminshare = ( /home/fsadmin/COMMON/admin )
- profshare = ( /home/fsadmin/COMMON/samba/userprofiles )
- privpcshare = ( .pcshare )
-
- #
- # Administrative user and group
- #
- adminuser = ( fsadmin )
- admingrp = ( fsadmin )
-
-editfiles:
- samba::
- { /etc/samba/smb-shares-$(site).conf
- #
- # This file contains the shares common to a site.
- # We check if the proper sections are there and add them if they
- # isn't. We don't check the file line for line.
- #
- AutoCreate
- #
- # [netlogon]
- #
- BeginGroupIfNoLineMatching "^\[netlogon\]"
- Append '[netlogon]'
- Append ' comment = Network logon'
- Append ' path = $(netlogshare)'
- Append ' browsable = no'
- Append ' writeable = no'
- Append ' share modes = no'
- EndGroup
- #
- # [userprofiles]
- #
- BeginGroupIfNoLineMatching "^\[userprofiles\]"
- Append '[userprofiles]'
- Append ' path = $(profshare)'
- Append ' force user = %u'
- Append ' browsable = yes'
- Append ' writable = yes'
- EndGroup
- #
- # [homes]
- #
- BeginGroupIfNoLineMatching "^\[homes\]"
- Append '[homes]'
- Append ' path = /home/%u/$(privpcshare)'
- Append ' browsable = no'
- Append ' writable = yes'
- EndGroup
- #
- # [programmer]
- #
- BeginGroupIfNoLineMatching "^\[software\]"
- Append '[software]'
- Append ' path = $(softshare)'
- Append ' comment = Fælles software'
- Append ' browsable = yes'
- Append ' guest ok = no'
- Append ' writeable = yes'
- Append ' create mask = 0660'
- Append ' directory mask = 0770'
- Append ' valid users = @$(admingrp)'
- Append ' force group = +$(admingrp)'
- EndGroup
- #
- # [dokumenter]
- #
- BeginGroupIfNoLineMatching "^\[dokumenter\]"
- Append '[dokumenter]'
- Append ' path = $(datashare)'
- Append ' comment = Fælles drev for delte filer'
- Append ' browsable = yes'
- Append ' guest ok = no'
- Append ' writeable = yes'
- Append ' create mask = 0660'
- Append ' directory mask = 0770'
- Append ' valid users = @$(admingrp)'
- Append ' force group = +$(admingrp)'
- EndGroup
- #
- # [dokumenter]
- #
- BeginGroupIfNoLineMatching "^\[admin\]"
- Append '[admin]'
- Append ' path = $(adminshare)'
- Append ' comment = Dokumentation og adminværktøjer'
- Append ' browsable = yes'
- Append ' guest ok = yes'
- Append ' writeable = no'
- Append ' valid users = @$(admingrp)'
- Append ' force group = +$(admingrp)'
- EndGroup
- DefineClasses "samba_reload"
- }
-
- samba_reload::
- { /etc/samba/smb-shares-$(site).conf
- LocateLineMatching "^; EDITED BY CFENGINE .*"
- ReplaceAll '; EDITED BY CFENGINE .*$' With '; EDITED BY CFENGINE $(date)'
- CatchAbort
- BeginGroupIfNoMatch "^; EDITED BY CFENGINE .*"
- Append '; EDITED BY CFENGINE $(date)'
- EndGroup
- }
-
-directories:
- any::
- $(commonsharedir)
- mode=755
- owner=$(adminuser)
- group=$(admingrp)
- $(softshare)
- mode=775
- owner=$(adminuser)
- group=$(admingrp)
- $(datashare)
- mode=775
- owner=$(adminuser)
- group=$(admingrp)
- samba::
- $(netlogshare)
- mode=755
- owner=root
- group=root
- $(profshare)
- mode=775
- owner=$(adminuser)
- group=$(admingrp)
- $(adminshare)
- mode=755
- owner=$(adminuser)
- group=$(admingrp)
-
-processes:
- "smbd" restart "/etc/init.d/samba restart"
-
-shellcommands:
- samba_reload::
- "/etc/init.d/samba force-reload"
diff --git a/samba/smb-shares-venture.conf b/samba/smb-shares-venture.conf
deleted file mode 100644
index f476662..0000000
--- a/samba/smb-shares-venture.conf
+++ /dev/null
@@ -1,95 +0,0 @@
-control:
- AddInstallable = ( samba samba_reload netatalk netatalk_reload )
-
- #
- # Variables for shares
- # You can change the paths here and it will be changed both in
- # the conf file and in the filesystem - But once it is implemented,
- # it is not wise to change it - the data in the shares doesn't get
- # moved!
- # You can change the rights on the shares in the "directories:"
- # section.
- #
- netlogshare = ( /etc/samba/netlogon )
- commonsharedir = ( /home/fsadmin/COMMON )
- softshare = ( /home/fsadmin/COMMON/software )
- profshare = ( /home/fsadmin/COMMON/samba/userprofiles )
- adminshare = ( /home/admin/admin )
- businessshare = ( /home/business/business )
- accountingshare = ( /home/accounting/accounting )
- graphicsshare = ( /home/graphics/graphics )
- itshare = ( /home/it/it )
- edushare = ( /home/edu/edu )
- serviceshare = ( /home/service/service )
- privpcshare = ( .pcshare )
- privmacshare = ( .macshare )
- privxchngshare = ( .xchangeshare )
-
- samba_reload::
- { /etc/samba/smb-shares-$(fqdn).conf
- LocateLineMatching "^; EDITED BY CFENGINE .*"
- ReplaceAll '; EDITED BY CFENGINE .*$' With '; EDITED BY CFENGINE $(date)'
- CatchAbort
- BeginGroupIfNoMatch "^; EDITED BY CFENGINE .*"
- Append '; EDITED BY CFENGINE $(date)'
- EndGroup
- }
-
-directories:
- any::
- $(commonsharedir)
- mode=755
- owner=fsadmin
- group=fsadmin
- $(softshare)
- mode=775
- owner=fsadmin
- group=fsadmin
- $(datashare)
- mode=775
- owner=fsadmin
- group=fsadmin
- $(adminshare)
- mode=775
- owner=admin
- group=admin
- $(businessshare)
- mode=775
- owner=business
- group=business
- $(accountingshare)
- mode=775
- owner=accounting
- group=accounting
- $(graphicsshare)
- mode=775
- owner=graphics
- group=graphics
- $(itshare)
- mode=775
- owner=it
- group=it
- $(edushare)
- mode=775
- owner=edu
- group=edu
- $(serviceshare)
- mode=775
- owner=service
- group=service
- samba::
- $(netlogshare)
- mode=755
- owner=root
- group=root
- $(profshare)
- mode=777
- owner=fsadmin
- group=fsadmin
-
-processes:
- "smbd" restart "/etc/init.d/samba restart"
-
-shellcommands:
- samba_reload::
- "/etc/init.d/samba force-reload"
diff --git a/samba/smb-shares-xenuxlocal.conf b/samba/smb-shares-xenuxlocal.conf
deleted file mode 100644
index 15a766d..0000000
--- a/samba/smb-shares-xenuxlocal.conf
+++ /dev/null
@@ -1,198 +0,0 @@
-control:
- AddInstallable = ( samba samba_reload netatalk netatalk_reload lprng lprng_reload cups cups_reload )
-
- #
- # Variables for shares
- # You can change the paths here and it will be changed both in
- # the conf file and in the filesystem - But once it is implemented,
- # it is not wise to change it - the data in the shares doesn't get
- # moved!
- # You can change the rights on the shares in the "directories:"
- # section.
- #
- netlogshare = ( /etc/samba/netlogon )
- commonsharedir = ( /home/fsadmin/COMMON )
- datashare = ( /home/fsadmin/COMMON/documents )
- softshare = ( /home/fsadmin/COMMON/software )
- profshare = ( /home/fsadmin/COMMON/samba/userprofiles )
- privpcshare = ( .pcshare )
- privmacshare = ( .macshare )
- privxchngshare = ( .xchangeshare )
-
- #
- # Administrative user and group
- #
- adminuser = ( fsadmin )
- admingrp = ( fsadmin )
-
-editfiles:
- samba::
- { /etc/samba/smb-shares-$(site).conf
- #
- # This file contains the shares common to a site.
- # We check if the proper sections are there and add them if they
- # isn't. We don't check the file line for line.
- #
- AutoCreate
- #
- # [netlogon]
- #
- BeginGroupIfNoLineMatching "^\[netlogon\]"
- Append '[netlogon]'
- Append ' comment = Network logon'
- Append ' path = $(netlogshare)'
- Append ' browsable = no'
- Append ' writeable = no'
- Append ' share modes = no'
- EndGroup
- #
- # [userprofiles]
- #
- BeginGroupIfNoLineMatching "^\[userprofiles\]"
- Append '[userprofiles]'
- Append ' path = $(profshare)'
- Append ' force user = %u'
- Append ' writable = yes'
- Append ' browsable = yes'
- Append ' root preexec = '/bin/mkdir $(profshare)/%U \'
- Append ' /bin/chown %U $(profshare)/%U \'
- Append ' /bin/chmod 700 $(profshare)/%U''
- EndGroup
- #
- # [homes]
- #
- BeginGroupIfNoLineMatching "^\[homes\]"
- Append '[homes]'
- Append ' path = %H/$(privpcshare)'
- Append ' browsable = no'
- Append ' writeable = yes'
- Append ' root preexec = '/bin/mkdir %H/$(privpcshare) \'
- Append ' /bin/chown %S %H/$(privpcshare) \'
- Append ' /bin/chmod 700 %H/$(privpcshare)''
- EndGroup
- #
- # [programmer]
- #
- BeginGroupIfNoLineMatching "^\[software\]"
- Append '[software]'
- Append ' path = $(softshare)'
- Append ' comment = Fælles software for Xenux ApS'
- Append ' browsable = yes'
- Append ' guest ok = no'
- Append ' writeable = yes'
- Append ' create mask = 0660'
- Append ' directory mask = 0770'
- Append ' valid users = @$(admingrp)'
- Append ' force group = +$(admingrp)'
- Append ' delete veto files = Yes'
- Append ' veto files = /.AppleDouble/.AppleDesktop/Network Trash Folder/DesktopFolderDB/resource.frk/Icon^M/TheVolumeSettingsFolder/'
- EndGroup
- #
- # [dokumenter]
- #
- BeginGroupIfNoLineMatching "^\[dokumenter\]"
- Append '[dokumenter]'
- Append ' path = $(datashare)'
- Append ' comment = Fælles dokumenter for Xenux ApS'
- Append ' browsable = yes'
- Append ' guest ok = no'
- Append ' writeable = yes'
- Append ' create mask = 0660'
- Append ' directory mask = 0770'
- Append ' valid users = @$(admingrp)'
- Append ' force group = +$(admingrp)'
- Append ' delete veto files = Yes'
- Append ' veto files = /.AppleDouble/.AppleDesktop/Network Trash Folder/DesktopFolderDB/resource.frk/Icon^M/TheVolumeSettingsFolder/'
- EndGroup
- #
- # [fs-programmer]
- #
- BeginGroupIfNoLineMatching "^\[fssoftware\]"
- Append '[fssoftware]'
- Append ' path = /home/finn/documents'
- Append ' comment = Fælles software for Finn Strandgaard A/S'
- Append ' browsable = yes'
- Append ' guest ok = no'
- Append ' writeable = yes'
- Append ' create mask = 0660'
- Append ' directory mask = 0770'
- Append ' valid users = @finn'
- Append ' force group = +$finn'
- Append ' delete veto files = Yes'
- Append ' veto files = /.AppleDouble/.AppleDesktop/Network Trash Folder/DesktopFolderDB/resource.frk/Icon^M/TheVolumeSettingsFolder/'
- EndGroup
- #
- # [fsdokumenter]
- #
- BeginGroupIfNoLineMatching "^\[fsdokumenter\]"
- Append '[fsdokumenter]'
- Append ' path = /home/finn/software'
- Append ' comment = Fælles dokumenter for Finn Strandgaard A/S'
- Append ' browsable = yes'
- Append ' guest ok = no'
- Append ' writeable = yes'
- Append ' create mask = 0660'
- Append ' directory mask = 0770'
- Append ' valid users = @finn'
- Append ' force group = +finn'
- Append ' delete veto files = Yes'
- Append ' veto files = /.AppleDouble/.AppleDesktop/Network Trash Folder/DesktopFolderDB/resource.frk/Icon^M/TheVolumeSettingsFolder/'
- EndGroup
- #
- # [media]
- #
- BeginGroupIfNoLineMatching "^\[media\]"
- Append '[media]'
- Append ' comment = Mp3 filer, film, spil etc.'
- Append ' path = /home/jrisch/media'
- Append ' public = no'
- Append ' valid users = @mp3'
- Append ' force group = +mp3'
- Append ' writable = yes'
- Append ' create mask = 0660'
- Append ' directory mask = 0770'
- EndGroup
-
- DefineClasses "samba_reload"
- }
-
- samba_reload::
- { /etc/samba/smb-shares-$(site).conf
- LocateLineMatching "^; EDITED BY CFENGINE .*"
- ReplaceAll '; EDITED BY CFENGINE .*$' With '; EDITED BY CFENGINE $(date)'
- CatchAbort
- BeginGroupIfNoMatch "^; EDITED BY CFENGINE .*"
- Append '; EDITED BY CFENGINE $(date)'
- EndGroup
- }
-
-directories:
- any::
- $(commonsharedir)
- mode=755
- owner=$(adminuser)
- group=$(admingrp)
- $(softshare)
- mode=775
- owner=$(adminuser)
- group=$(admingrp)
- $(datashare)
- mode=775
- owner=$(adminuser)
- group=$(admingrp)
- samba::
- $(netlogshare)
- mode=755
- owner=root
- group=root
- $(profshare)
- mode=777
- owner=$(adminuser)
- group=$(admingrp)
-
-processes:
- "smbd" restart "/etc/init.d/samba restart"
-
-shellcommands:
- samba_reload::
- "/etc/init.d/samba force-reload"
diff --git a/samba/smb-shares.conf.m4 b/samba/smb-shares.conf.m4
deleted file mode 100644
index e782c03..0000000
--- a/samba/smb-shares.conf.m4
+++ /dev/null
@@ -1,184 +0,0 @@
-ifelse(`
-/etc/samba/smb-shares.m4
-Copyright 2002 Jonas Smedegaard <dr@jones.dk>
-
-$Id: smb-shares.conf.m4,v 1.20 2002-10-28 15:23:23 klaus Exp $
-
-m4 share definitions for generating Samba server smb.conf include file
-
-Usage: m4 -DFQDN=<FQDN> /etc/local-COMMON/samba/smb-shares.conf.m4 > /etc/samba/smb-shares.conf
-
-Depend on file /etc/local-COMMON/file-<FQDN>.m4 containing lines of
-the following syntax:
- _dir(<path>,<uid>,<gid>,<modes>)dnl
- _homefiles(<os>,<mount>,<desc>,<path>[,ro])dnl
- _files(<os>,<mount>,<desc>,<path>,<uid>,<gid>,<modes>[,ro[,<group>]|,rw,<group>[,<othergroup>]])dnl
-where
- <os>: Client operating systems (mac|win|any)
- <mount>: Mount point name
- Some mount points are handled specially:
- "netlogon" has browsing and share modes disabled
- "userprofiles" sets "force user" and pre-creates user subdirectory mode 700
- "reference" allows guests
- "homes" has read/write access and pre-creates directory mode 750
- Samba: Use single word and max. 8 characters for WfW compatibility
- <desc>: Mount point description. Full(?) support for iso8859-1.
- <path>: Full path to mount point directory
- <uid>: user name of owner of mount point directory
- <gid>: group name of owner of mount point directory
- <modes>: Numeric access modes of mount point directory
- ro|rw|rop|rwp: Read-only or read/write access to mount point, and wether it should be private (not publically announced).
- Read-only access if undefined.
- _homefiles are always private.
- _homefiles are by default read-only, except "homes" (see above).
- <group>: Primary group with access to mountpoint.
- If mount point has access "rw" then primary group has read/write access as well.
- <othergroup>: Secondary group with readonly access
-
-Example:
-
- _dir(/home/fsadmin/COMMON,fsadmin,fsadmin,755)dnl
- _files(win,netlogon,Network logon,/etc/samba/netlogon,root,root,755,ro)
- _files(win,userprofiles,User profiles,/home/fsadmin/shares_win/userprofiles,root,root,755)
- _files(win,reference,DEBIAN: Samba Linux server,/home/fsadmin/shares_win/reference)
- _homefiles(win,homes,Personal files,%H/pc))
- _homefiles(mac,,Personal files,~/mac))
- _files(win,soft,softshare,/home/fsadmin/shares_win/software,fsadmin,fsadmin,775)dnl
- _printer(win,LW,Networkprinter queue for Apple LaserWriter 16/600,/tmp,lw)
-
-TODO:
- Support for netatalk is not yet implemented.
- <othergroup> is not yet implemented.
- Get rid of <os>: <othergroup> is now 10nth parameter which is only available in GNU m4.
- All _homefiles (including "homes") should probably have similar access default (read-only, private).
- BROKEN: Homefiles are *not* private currently :-(
-
-')dnl
-changequote(<, >)dnl
-define(<_veto_mac>, </.AppleDouble/.AppleDesktop/Network Trash Folder/DesktopFolderDB/resource.frk/Icon^M/TheVolumeSettingsFolder/>)dnl
-define(<_warn>,
-< // WARNING: $1
->)dnl
-define(<_masks>,
-< create mask = $1
- directory mask = $2
->)dnl
-define(<_pre_mkdir>,
-< root preexec = /bin/bash -c ' \
- /bin/mkdir -p $1 && \
- /bin/chown $2 $1 && \
- /bin/chmod $3 $1 '
->)dnl
-define(<_dir>, <>)dnl
-define(<_files>,
-<ifelse($1,win,
-undefine(<_mkdir>)dnl
-undefine(<_group_read>)dnl
-undefine(<_world_read>)dnl
-undefine(<_user_write>)dnl
-undefine(<_group_write>)dnl
-undefine(<_private>)dnl
-[$2]
- path = $4
-ifelse($3,,,
-< comment = $3
->)ifelse($2,<netlogon>,
-< share modes = no
-define(<_private>)dnl
->,
- $2,<userprofiles>,
-< force user = %u
-define(<_user_write>)dnl
-define(<_mkdir>, <$4/%U>)dnl
-define(<_chown>, <%U>)dnl
-define(<_chmod>, <700>)dnl
->,
- $2,<reference>,
-< guest ok = yes
->,
- $2,<homes>,
-<dnl
-define(<_mkdir>, <$4>)dnl
-define(<_chown>, <%S>)dnl
-define(<_chmod>, <750>)dnl
-define(<_user_write>)dnl
-define(<_group_read>)dnl
-define(<_private>)dnl
->,
-<>)dnl
-ifdef(<_mkdir>,
-_pre_mkdir(<_mkdir>, <_chown>, <_chmod>)dnl
-)dnl
-ifdef($8,
- ifelse($8,ro,
-<dnl
-define(<_group_read>)dnl
->,
- $8,rop,
-<dnl
-define(<_group_read>)dnl
-define(<_private>)dnl
->,
- $8,rw,
-<dnl
-define(<_user_write>)dnl
- ifdef($9,
- ifelse($9,,,
-define(<_group_write>)dnl
-))dnl
->,
- $8,rwp,
-<dnl
-define(<_user_write>)dnl
-define(<_private>)dnl
->,
- _warn(<share access is wrong. Must be either "ro", "rop", "rw" or "rwp">)dnl
-))dnl
-ifdef(<_user_write>,
-< writeable = yes
->ifdef(<_group_write>,
- ifdef(<_world_read>,
- _masks(0664,2775),
- _masks(0660,2770)),
-ifdef(<_group_read>,
- ifdef(<_world_read>,
- _masks(0644,0755),
- _masks(0640,0750)),
- _masks(0600,0700))dnl
-ifdef(<_veto>,
-< delete veto files = Yes
->)dnl
-),
-dnl ***user read, group read***(?)
-dnl ***user read***
-)dnl
-ifelse($9,,,
-< valid users = @$9
->ifdef(<_group_write>,
-< force group = +$9
->))dnl
-ifdef(<_private>,
-< browseable = no
->)dnl
-ifdef(<_veto>,
-< veto files = _veto_mac
->)dnl
-)dnl
->)dnl
-define(<_homefiles>,
-<ifelse($1,win,
-<_files($1,$2,$3,$4,,,,$5)>dnl
-)>)dnl
-define(<_printer>,
-<ifelse($1,win,
-[$2]
-ifelse($3,,,
-< comment = $3
->)dnl
- path = $4
- printable = yes
- printer name = $5
-,<>)dnl
->)dnl
-dnl
-include(/etc/local-COMMON/file-FQDN.m4)dnl
diff --git a/samba/smb.anarchy.conf b/samba/smb.anarchy.conf
deleted file mode 100644
index 3d9f5ad..0000000
--- a/samba/smb.anarchy.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-[doc]
- comment = Dokumenter
- path = /var/local/samba/doc/users/users/
- writeable = yes
- create mask = 0660
- directory mask = 0770
- read list = @users
- write list = @users
- force group = users
- locking = no
- delete veto files = Yes
- veto files = /.AppleDouble/.AppleDesktop/Network Trash Folder/DesktopFolderDB/resource.frk/Icon^M/TheVolumeSettingsFolder/
diff --git a/samba/smb.distrib.conf b/samba/smb.distrib.conf
deleted file mode 100644
index 8e7e0cd..0000000
--- a/samba/smb.distrib.conf
+++ /dev/null
@@ -1,60 +0,0 @@
-[software_std]
- comment = Software maintained by dr. Jones
- path = /var/local/samba/COMMON/C/software/users/jonas
- writeable = yes
- create mask = 0664
- directory mask = 0775
- read list = @users
- write list = @jonas
- force group = jonas
- locking = no
-[software_std_da]
- comment = Software (danish) maintained by dr. Jones
- path = /var/local/samba/COMMON/da/software/users/jonas
- writeable = yes
- create mask = 0664
- directory mask = 0775
- read list = @users
- write list = @jonas
- force group = jonas
- locking = no
-[software_std_en]
- comment = Software (english) maintained by dr. Jones
- path = /var/local/samba/COMMON/en/software/users/jonas
- writeable = yes
- create mask = 0664
- directory mask = 0775
- read list = @users
- write list = @jonas
- force group = jonas
- locking = no
-[admin_std]
- comment = Admin stuff maintained by dr. Jones
- path = /var/local/samba/COMMON/C/admin/admin/jonas
- writeable = yes
- create mask = 0664
- directory mask = 0775
- read list = @admin
- write list = @jonas
- force group = jonas
- locking = no
-[admin_std_da]
- comment = Admin stuff (danish) maintained by dr. Jones
- path = /var/local/samba/COMMON/da/admin/admin/jonas
- writeable = yes
- create mask = 0664
- directory mask = 0775
- read list = @admin
- write list = @jonas
- force group = jonas
- locking = no
-[admin_std_en]
- comment = Admin stuff (english) maintained by dr. Jones
- path = /var/local/samba/COMMON/en/admin/admin/jonas
- writeable = yes
- create mask = 0664
- directory mask = 0775
- read list = @admin
- write list = @jonas
- force group = jonas
- locking = no
diff --git a/samba/smb.mac.conf b/samba/smb.mac.conf
deleted file mode 100644
index 1e0af2b..0000000
--- a/samba/smb.mac.conf
+++ /dev/null
@@ -1,4 +0,0 @@
-[home_mac]
-# comment = Personal Macintosh documents
- comment = Personlige Macintosh-dokumenter
- path = %H/.mac/
diff --git a/samba/smb.mac.new-conf b/samba/smb.mac.new-conf
deleted file mode 100644
index 4ad73c7..0000000
--- a/samba/smb.mac.new-conf
+++ /dev/null
@@ -1,4 +0,0 @@
-[home_mac]
-# comment = Personal Macintosh documents
- comment = Personlige Macintosh-dokumenter
- path = %H/mac/
diff --git a/samba/smb.managed.conf b/samba/smb.managed.conf
deleted file mode 100644
index a73349e..0000000
--- a/samba/smb.managed.conf
+++ /dev/null
@@ -1,31 +0,0 @@
-[tmpl]
-# comment = Templates
- comment = Skabeloner
- path = /var/local/samba/tmpl/users/admin
- writeable = yes
- create mask = 0664
- directory mask = 0775
- read list = @users
- write list = @admin
- force group = admin
- locking = no
-[software]
- comment = Software
- path = /var/local/samba/software/users/admin/
- writeable = yes
- create mask = 0664
- directory mask = 0775
- read list = @users
- write list = @admin
- force group = admin
- locking = no
-[admin]
- comment = Admin Stuff
- path = /var/local/samba/admin/admin/admin
- writeable = yes
- create mask = 0660
- directory mask = 0770
- read list = @admin
- write list = @admin
- force group = admin
- locking = no
diff --git a/samba/smb.private.conf b/samba/smb.private.conf
deleted file mode 100644
index cab77a2..0000000
--- a/samba/smb.private.conf
+++ /dev/null
@@ -1,33 +0,0 @@
-[priv]
-# comment = Private
- comment = Privat
- path = /var/local/samba/private/COMMON/C/private/jonas/jonas
- writeable = yes
- create mask = 0664
- directory mask = 0755
- read list = @jonas
- write list = jonas
- force group = jonas
- locking = no
-[priv_da]
-# comment = Private (danish)
- comment = Privat (dansk)
- path = /var/local/samba/private/COMMON/da/private/jonas/jonas
- writeable = yes
- create mask = 0664
- directory mask = 0755
- read list = @jonas
- write list = jonas
- force group = jonas
- locking = no
-[priv_en]
-# comment = Private (english)
- comment = Privat (engelsk)
- path = /var/local/samba/private/COMMON/en/private/jonas/jonas
- writeable = yes
- create mask = 0664
- directory mask = 0755
- read list = @jonas
- write list = jonas
- force group = jonas
- locking = no
diff --git a/samba/smb.public.conf b/samba/smb.public.conf
deleted file mode 100644
index d371435..0000000
--- a/samba/smb.public.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-[public]
-# comment = Public
- comment = Offentligt
- path = /var/local/shared/users/users/
- writeable = yes
- create mask = 0664
- directory mask = 0775
- read list = @users
- write list = @users
- force group = users
- locking = no
diff --git a/samba/smb.web.conf b/samba/smb.web.conf
deleted file mode 100644
index fd237fa..0000000
--- a/samba/smb.web.conf
+++ /dev/null
@@ -1,8 +0,0 @@
-[home_web]
-# comment = Personal web documents
- comment = Personlige web-dokumenter
- path = %H/public_html/
- guest ok = no
- writeable = yes
- create mask = 0644
- directory mask = 0755
diff --git a/samba/smb.xchange.conf b/samba/smb.xchange.conf
deleted file mode 100644
index 9e48b2a..0000000
--- a/samba/smb.xchange.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-[exchange]
-# comment = Document Exchange
- comment = Udveksling af dokumenter
- path = /var/local/xchange/users/root/
- writeable = yes
- create mask = 0644
- directory mask = 0755
- read list = @users
- write list = @users
- force group = users
- locking = no