diff options
-rw-r--r-- | cfengine/cf.groups.jones | 4 | ||||
-rw-r--r-- | cfengine/cf.site | 2 | ||||
-rw-r--r-- | cfengine/cf.site.jones | 8 | ||||
-rw-r--r-- | file-ida.idaskolen.dk.m4 | 30 | ||||
-rw-r--r-- | samba/netlogon/logon-ida.idaskolen.dk.bat | 21 |
5 files changed, 58 insertions, 7 deletions
diff --git a/cfengine/cf.groups.jones b/cfengine/cf.groups.jones index bfd8e8a..7d8fd23 100644 --- a/cfengine/cf.groups.jones +++ b/cfengine/cf.groups.jones @@ -6,7 +6,7 @@ groups: pierre = ( pierre ) rornaestved = ( rornaestved ) satsbutikken = ( satsbutikken ) - ida = ( ida ) + idaskolen = ( ida ) shared = ( gmork ) homebase = ( jawa nimbus ) adamatic = ( nat mail2 web rudi ns ) @@ -23,7 +23,7 @@ groups: FTPServer_jones = ( auryn fuchur xayide argax slamuf pierre jawa woody web gmork paf artax saks coreander tansania ) NameServer_jones = ( auryn xayide slamuf pierre tulle paf artax saks gonk coreander tansania ida ) # FileServer_jones = ( auryn fuchur xayide argax slamuf pierre cafe3 wetware rornaestved satsbutikken ida jawa woody gmork artax ) - FileServer_jones = ( cafe3 gmork paf artax saks tansania ) + FileServer_jones = ( cafe3 gmork paf artax saks tansania ida ) # VPNServer_jones = ( ) Firewall_jones = ( slamuf pierre cafe3 wetware rornaestved ida woody paf gonk ) # CVSServer_jones = ( ) diff --git a/cfengine/cf.site b/cfengine/cf.site index 5b734c3..6ae7f7f 100644 --- a/cfengine/cf.site +++ b/cfengine/cf.site @@ -1,5 +1,5 @@ import: - jones|homebase|pierre|rornaestved|satsbutikken|ida|shared|adamatic|cafe3|haakansson|peronard|louiz|lab|steenwinkel|vega:: + jones|homebase|pierre|rornaestved|satsbutikken|idaskolen|shared|adamatic|cafe3|haakansson|peronard|louiz|lab|steenwinkel|vega:: $(cfroot)/cf.site.jones xenux|xenuxlocal|raps|sagahus|venture|ntiexpo:: $(cfroot)/cf.site.xenux diff --git a/cfengine/cf.site.jones b/cfengine/cf.site.jones index 0a71f6c..3ae20d2 100644 --- a/cfengine/cf.site.jones +++ b/cfengine/cf.site.jones @@ -35,10 +35,10 @@ control: # sysadm = ( hostmaster@satsbutikken.dk ) domain = ( satsbutikken.local ) sysadm = ( hostmaster@satsbutikken.local ) - ida:: - site = ( ida ) - domain = ( idraetsdaghojskolen.dk ) - sysadm = ( hostmaster@idraetsdaghojskolen.dk ) + idaskolen:: + site = ( idaskolen ) + domain = ( idaskolen.dk ) + sysadm = ( hostmaster@idaskolen.dk ) shared:: site = ( shared ) domain = ( shared.dk ) diff --git a/file-ida.idaskolen.dk.m4 b/file-ida.idaskolen.dk.m4 new file mode 100644 index 0000000..b0ba191 --- /dev/null +++ b/file-ida.idaskolen.dk.m4 @@ -0,0 +1,30 @@ +dnl +dnl /etc/local/file-debian.cafe3.local.m4 +dnl Copyright 2002 Jonas Smedegaard <dr@jones.dk> +dnl +dnl $Id: file-ida.idaskolen.dk.m4,v 1.1 2002-09-19 11:49:56 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/guest,guest,guest,755) +_dir(any,/home/idaadm,idaadm,idaadm,755) +_files(win,netlogon,Netværkslogon,/etc/samba/netlogon,root,root,755,ro) +_files(win,userprofiles,Brugerprofiler,/home/guest/shares_win/userprofiles,root,root,755) +_files(win,reference,DEBIAN: Samba Linux server,/home/guest/shares_win/reference,root,root,755) +dnl +_homefiles(win,homes,Personlige Windows-dokumenter,%H/pc,rwp) +_homefiles(win,prv_mac,Personlige Macintosh-dokumenter,%H/mac,rop) +_homefiles(win,prv_web,Personlige web-dokumenter,%H/public_html,rww) +dnl +_files(win,doc,Delte Windows dokumenter,/home/guest/shares_win/doc,guest,guest,2770,rw,guest) +dnl _files(win,doc_mac,Delte Macintosh dokumenter,/home/guest/shares_mac/doc,guest,guest,2770,ro,guest) +dnl +_files(win,adm,Delte adm. Windows dokumenter,/home/idaadm/shares_win/doc,idaadm,idaadm,2770,rw,idaadm) +_files(win,adm_mac,Delte adm. Macintosh dokumenter,/home/idaadm/shares_mac/doc,idaadm,idaadm,2770,ro,idaadm) +dnl +_homefiles(win,home_xch,Personlige dokumenter som kan læses af gruppen,%H/xchange) +_files(win,doc_xch,Alle dokumenter som kan læses af gruppen,/home/guest/shares_win/xchange,guest,guest,550,ro,guest) +dnl +_printer(win,HP2100,Netværksprinterkø til HP 2100 (postscript level 3),/tmp,hp2100) diff --git a/samba/netlogon/logon-ida.idaskolen.dk.bat b/samba/netlogon/logon-ida.idaskolen.dk.bat new file mode 100644 index 0000000..45105a6 --- /dev/null +++ b/samba/netlogon/logon-ida.idaskolen.dk.bat @@ -0,0 +1,21 @@ +@echo off
+rem Warning Unix folks: This file
+rem needs PC line ends to work!
+rem
+rem Suggestion: Use "recode"
+rem
+rem recode pc.. this_file.bat
+rem (do your unix editing)
+rem recode ..pc this_file.bat
+rem
+echo Welcome to this Debian Samba server !
+echo.
+net use F: \\IDASKOLEN\doc
+net use G: \\IDASKOLEN\doc_mac
+net use H: \\IDASKOLEN\adm_mac
+net use I: \\IDASKOLEN\anne
+net use J: \\IDASKOLEN\prv_mac
+rem net use LPT1 \\IDASKOLEN\LP
+rem net use LPT2 \\IDASKOLEN\LP
+rem net use LPT3 \\IDASKOLEN\LP
+net time \\IDASKOLEN /YES
|