File deleted: mylinux-usermanager-0.98//env.pm

package env;

# ----------------------------------------------------------- #
# Copyright (c) 2003 by Michael Oberg                         #
# Alle Rechte vorbehalten.                                    #
# ----------------------------------------------------------- #

$DATAPATH = "/root/usermanager/data";	# path to the password/template files
$HOMEPATH = "/home";	# path to the users home directories

$topdomain = "de";
$subdomain = "mylinux";
$windomain = "MYLINUX";
$hostname = "livecd";
$domain = "$subdomain.$topdomain";
$fqhostname = "$hostname.$domain";	# name of THIS machine
$imapserver = "livecd.mylinux.de";	# IMAP mailserver machine
$smtpserver = "livecd.mylinux.de";	# SMTP mailserver machine
$mailservername = "myLinux Mailserver";	# name of the MS Outlook account
$addressbook = "myLinux Addressbook";	# name of the MS Outlook LDAP account
					# (used for SquirrelMail, too)
$maildir = "/var/imap/spool/user";	# users mail directories, needed for
					# the delete/archiving command;
					# empty, if the mailserver is on
					# another machine
$squirreldata = "/usr/local/httpd/htdocs/squirrelmail/data";
					# path to users squirrelmail
					# preferences and addressbooks, needed
					# for the delete/archiving command;
					# empty, if the webserver is on
					# another machine
$ldapbase = "dc=$subdomain,dc=$topdomain";
$ldaprootdn = "cn=admin,$ldapbase";
$ldapserver = "livecd.mylinux.de";
$mailtrash = "Gel&APY-schte Objekte";	# name of the squirrelmail trash
					# mailbox
$mailsent = "Gesendete Objekte";	# name of the squirrelmail sent mailbox
$maildrafts = "Entw&APw-rfe";		# name of the squirrelmail drafts
					# mailbox

File deleted: mylinux-usermanager-0.98/setup/createbatchfiles.sh

#!/bin/sh
########################################################################
# File:           setup/samba.sh                                       #
# myLinux Server: Copyright (c) 2003 Michael Oberg                     #
# Version:        0.97                                                 #
# Author:         Michael Oberg <michael.oberg@mylinuxproject.de>      #
#                                                                      #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or    #
# (at your option) any later version.                                  #
#                                                                      #
# This program is distributed in the hope that it will be useful,      #
# but WITHOUT ANY WARRANTY; without even the implied warranty of       #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the         #
# GNU General Public License for more details.                         #
#                                                                      #
# You should have received a copy of the GNU Public License along      #
# with this package; if not, write to the Free Software Foundation,    #
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.       #
########################################################################
source mylinux.conf

cat << EOF > /var/lib/samba/software/Windows/AddDomainGroups.cmd
rem German version:
net localgroup Administratoren "$WINDOMAIN\\Domain Admins" /add
net localgroup Benutzer "$WINDOMAIN\\Domain Users" /add
net localgroup G„ste "$WINDOMAIN\\Domain Guests" /add
rem US version:
net localgroup Administrators "$WINDOMAIN\\Domain Admins" /add
net localgroup Users "$WINDOMAIN\\Domain Users" /add
net localgroup Guests "$WINDOMAIN\\Domain Guests" /add
pause
EOF
cat << EOF > /var/lib/samba/software/Windows/nettime.cmd
net time \\\\$HOSTNAME /set /yes
EOF

File changed: mylinux-usermanager-0.98/MyLinux-Patches/firewall

80a81,90
> # allow IPSec from / to LAN / Internet
> iptables -A OUTPUT -p udp --dport 500 -j ACCEPT
> iptables -A INPUT -p udp --sport 500 -m state --state ESTABLISHED -j ACCEPT
> iptables -A OUTPUT -p udp --sport 500 -m state --state ESTABLISHED -j ACCEPT
> iptables -A INPUT -p udp --dport 500 -j ACCEPT
> iptables -A INPUT -p 50 -j ACCEPT
> iptables -A OUTPUT -p 50 -j ACCEPT
> iptables -A INPUT -p 51 -j ACCEPT
> iptables -A OUTPUT -p 51 -j ACCEPT
> 

File changed: mylinux-usermanager-0.98/compile-scripts/COMPILE-BLFS

679c679
<                 killall -9 nfsd
---
>                 killall -9 nfsd 2> /dev/null
1146,1166d1145
< # added by Michael Oberg - documents dir
< mkdir /var/lib/samba/documents
< chgrp users /var/lib/samba/documents
< chmod 2770 /var/lib/samba/documents # set group id bit
< # added by Michael Oberg - template dir for Microsoft Office
< mkdir /var/lib/samba/templates
< # added by Michael Oberg - software dir for Microsoft Windows Software
< mkdir "/var/lib/samba/software"
< mkdir "/var/lib/samba/software/Admin"
< mkdir "/var/lib/samba/software/Admin/PuTTY"
< mkdir "/var/lib/samba/software/Images"
< mkdir "/var/lib/samba/software/Tools"
< mkdir "/var/lib/samba/software/Multimedia"
< mkdir "/var/lib/samba/software/Windows"
< mkdir "/var/lib/samba/software/Windows/Internet Explorer"
< mkdir "/var/lib/samba/software/Windows/Default User"
< mkdir "/var/lib/samba/software/Windows/Fonts"
< mkdir "/var/lib/samba/software/Office Service Packs"
< mkdir "/var/lib/samba/software/Drivers"
< mkdir "/var/lib/samba/software/MSOffice"
< mkdir "/var/lib/samba/software/MSPublisher"

File changed: mylinux-usermanager-0.98/compile-scripts/COMPILE-IPSEC

40c40
< #                                                            #
---
> # isakmpd                                                    #
98c98
< Listen-on=192.168.0.7
---
> Listen-on=10.0.0.10
101c101
< 10.0.0.10=ISAKMP-peer-west
---
> 10.0.0.2=ISAKMP-peer-west
109,110c109
< Local-address=192.168.0.7
< Address=192.168.0.7
---
> Address=10.0.0.2
112c111
< Authentication=yelnif24
---
> Authentication=mylinux
123c122
< Network=192.168.0.0
---
> Network=192.168.2.0
128,129c127,128
< Network=10.0.0.0
< Netmask=255.0.0.0
---
> Network=192.168.0.0
> Netmask=255.255.255.0
130a130
> # Phase 1 descriptions
134,135c134,165
< Transforms=3DES-sha
< 
---
> Transforms=3DES-SHA,3DES-MD5
>     
> [3DES-SHA]
> ENCRYPTION_ALGORITHM=3DES_CBC
> HASH_ALGORITHM=SHA
> AUTHENTICATION_METHOD=PRE_SHARED
> GROUP_DESCRIPTION=MODP_1024
> Life=LIFE_180_SECS
>     
> [3DES-MD5]
> ENCRYPTION_ALGORITHM=3DES_CBC
> HASH_ALGORITHM=MD5
> AUTHENTICATION_METHOD=PRE_SHARED
> GROUP_DESCRIPTION=MODP_1024
> Life=LIFE_180_SECS
>     
>     
> [CAST-SHA-1536]
> ENCRYPTION_ALGORITHM=CAST_CBC
> HASH_ALGORITHM=SHA
> AUTHENTICATION_METHOD=PRE_SHARED
> GROUP_DESCRIPTION=MODP_1536
> Life=LIFE_1_DAY
>     
> [CAST-MD5-1024]
> ENCRYPTION_ALGORITHM=CAST_CBC
> HASH_ALGORITHM=MD5
> AUTHENTICATION_METHOD=PRE_SHARED
> GROUP_DESCRIPTION=MODP_1024
> Life=LIFE_1_DAY
>     
>     
139c169,276
< Suites=QM-ESP-3DES-SHA-SUITE
---
> Suites=QM-ESP-3DES-SHA-PFS-SUITE,QM-ESP-3DES-MD5-PFS-SUITE
>     
>     
> [QM-ESP-3DES-SHA-PFS-SUITE]
> Protocols=QM-ESP-3DES-SHA-PFS
>    
> [QM-ESP-3DES-MD5-PFS-SUITE]
> Protocols=QM-ESP-3DES-MD5-PFS
>     
> [QM-ESP-3DES-SHA-SUITE]     
> Protocols=QM-ESP-3DES-SHA
>     
> [QM-ESP-3DES-MD5-SUITE]
> Protocols=QM-ESP-3DES-MD5
>     
>     
> [QM-ESP-CAST-SHA-SUITE]
> Protocols=QM-ESP-CAST-SHA
>     
> [QM-ESP-CAST-MD5-SUITE]
> Protocols=QM-ESP-CAST-MD5
>     
>     
> [QM-ESP-3DES-SHA-PFS]
> PROTOCOL_ID=IPSEC_ESP
> Transforms=QM-ESP-3DES-SHA-PFS-XF
>     
> [QM-ESP-3DES-SHA]
> PROTOCOL_ID=IPSEC_ESP
> Transforms=QM-ESP-3DES-SHA-XF
>   
> [QM-ESP-3DES-MD5-PFS]
> PROTOCOL_ID=IPSEC_ESP
> Transforms=QM-ESP-3DES-MD5-PFS-XF
>     
> [QM-ESP-3DES-MD5]
> PROTOCOL_ID=IPSEC_ESP
> Transforms=QM-ESP-3DES-MD5-XF
>     
>     
> [QM-ESP-CAST-SHA]
> PROTOCOL_ID=IPSEC_ESP
> Transforms=QM-ESP-CAST-SHA-XF
>     
> [QM-ESP-CAST-MD5]
> PROTOCOL_ID=IPSEC_ESP
> Transforms=QM-ESP-CAST-MD5-XF
>     
>     
> [QM-ESP-3DES-SHA-PFS-XF]
> TRANSFORM_ID=3DES
> ENCAPSULATION_MODE=TUNNEL
> AUTHENTICATION_ALGORITHM=HMAC_SHA
> GROUP_DESCRIPTION=MODP_1024
> Life=LIFE_3600_SECS
>     
> [QM-ESP-3DES-SHA-XF]
> TRANSFORM_ID=3DES
> ENCAPSULATION_MODE=TUNNEL
> AUTHENTICATION_ALGORITHM=HMAC_SHA
> GROUP_DESCRIPTION=MODP_1024
> Life=LIFE_3600_SECS
>     
> [QM-ESP-3DES-MD5-PFS-XF]
> TRANSFORM_ID=3DES
> ENCAPSULATION_MODE=TUNNEL
> AUTHENTICATION_ALGORITHM=HMAC_MD5
> GROUP_DESCRIPTION=MODP_1024
> Life=LIFE_3600_SECS
>     
> [QM-ESP-3DES-MD5-XF]
> TRANSFORM_ID=3DES
> ENCAPSULATION_MODE=TUNNEL
> AUTHENTICAION_ALGORITHM=HMAC_MD5
> GROUP_DESCRIPTION=MODP_1024
> Life=LIFE_3600_SECS
>     
>     
> [QM-ESP-CAST-SHA-XF]
> TRANSFORM_ID=CAST
> ENCAPSULATION_MODE=TUNNEL
> GROUP_DESCRIPTION=MODP_1536
> AUTHENTICATION_ALGORITHM=HMAC_SHA
> Life=LIFE_8_HOURS
>     
> [QM-ESP-CAST-MD5-XF]
> TRANSFORM_ID=CAST
> ENCAPSULATION_MODE=TUNNEL
> GROUP_DESCRIPTION=MODP_1024
> AUTHENTICATION_ALGORITHM=HMAC_MD5
> Life=LIFE_8_HOURS
>    
> [LIFE_8_HOURS]
> LIFE_TYPE=SECONDS
> LIFE_DURATION=28800,25200:32400
>     
> [LIFE_1_DAY]
> LIFE_TYPE=SECONDS
> LIFE_DURATION=86400,79200:93600
>     
> [LIFE_180_SECS]
> LIFE_TYPE=SECONDS
> LIFE_DURATION=180,120:240
>     
> [LIFE_3600_SECS]
> LIFE_TYPE=SECONDS
> LIFE_DURATION=3600,1800:7200
> 
150a288,294
> ##############################################################
> # ipsec-tools                                                #
> ##############################################################
> cd /IPSec-Sources/ipsec-tools-0.3.3/
> ./configure --prefix=/usr
> make || exit 1
> make install || exit 1

File changed: mylinux-usermanager-0.98/compile-scripts/COMPILE-MYLINUX

958c958,960
<            killproc clamd
---
>            killall clamd
>            sleep 5
>            killall -9 clamd 2> /dev/null

File changed: mylinux-usermanager-0.98/compile-scripts/InstallCD-Readme.txt

4c4
< The myLinux Server Install CD is a bootable CD with three installed kernels.
---
> The myLinux Server Install CD is a bootable CD with two installed kernels.
8,10c8,9
< on old Tekram cards like DC390W/U/F). The third kernel (label ide)
< also has all drivers for standard Ethernet cards compiled in, but the
< drivers for the SCSI adapters are compiled as modules.
---
> on old Tekram cards like DC390W/U/F). This second kernel is recommended
> too if you have no scsi at all.
12c11
< It is possible that the default kernel doesn't work because of driver
---
> It is possible that the default kernel does not work because of driver
16c15
< work with Tekram DC390U). For this reason the two other kernels exists.
---
> work with Tekram DC390U). For this reason the other kernel exists.
38a38
> 
45,88d44
< - Partitioning the destination disk. This is possible using an external
<   partition manager like Acronis or PartitionMagic, or with the tools
<   fdisk or cfdisk under myLinux. (cfdisk is a curses based graphical user
<   interface for fdisk.)
<   It is also possible to use a windows fdisk or partition/disk manager, but
<   then the partition ID's have to be changed with fdisk or cfdisk to "Linux"
<   and "Linux Swap".
<   There are at least two partitions required: a data partition with the ID
<   "Linux" and the bootable flag set, and a swap partition with ID "Linux swap"
<   which should be at least twice as big as the physical memory (RAM) of the
<   computer.
<   Before partitioning it is possible to list all installed hard disks and
<   partitions with the command
<   fdisk -l
<   The partitioning of a disk can be done by
<   cfdisk /dev/<HARD DISK>
<   where <HARD DISK> is one of the devices listed by "fdisk -l" above:
<   sda, sdb, sdc... in case of a SCSI disk, hda, hdb, hdc... in case of a
<   IDE disk.
<   The simplest example is a single IDE disk with two partitions:
<   cfdisk /dev/hda
<   Create a primary partition for swap with "New", "Primary", "Size" is
<   for example "512", if you have 256 MB RAM.
<   Set the "Type" of the swap partition to 82, which is "Linux Swap".
<   Create a primary partition for data with "New", "Primary", and take
<   the default value for "Size", which is the whole remaining space on the
<   disk.
<   Toggle the "Bootable" flag of the data partition.
<   "Write" the partition table, and "Quit" the program.
< 
< - Reboot the system and log in anew.
< 
< - Formatting the destination disk. If for example the cfdisk utility reports
<   two partitions /dev/hda2 with ID "Linux" and /dev/hda1 with ID "Linux swap",
<   then the formatting can be done with the following commands:
<   mkswap /dev/hda1
<   mkreiserfs /dev/hda2
< 
< - Mounting the destination root filesystem partition. If for example the
<   cfdisk utility reports the root filesystem partition /dev/hda2 with ID
<   "Linux", then the mounting can be done with the following commands:
<   mkdir /mnt/hda2
<   mount /dev/hda2 /mnt/hda2
< 
92,95c48,59
<   ./install-files.sh <DESTINATION DIRECTORY>
<   If for example the root filesystem was mounted under /mnt/hda2, then the
<   command is:
<   ./install-files.sh /mnt/hda2
---
>   ./install-files.sh
>   This script is interactive. It leads you through the partitioning of your
>   harddisks (on each harddisk drive you should have a swap partition, this
>   is much more performant as to have a single, big swap partition on one
>   harddisk), the formatting (at the moment the file system for partitions
>   with type linux the ReiserFS format is automatically choosen, partitions
>   with type linux swap are automatically formatted as swap), the copying of
>   the system files and the installation of the boot loader.
>   Each step (except of the copying process) you can go over with "Save&Exit";
>   partitions already formatted will be mounted automatically if they have
>   one of the following formats:
>   swap, ReiserFS, ext2, ext3, fat16, fat32 (vfat).
105,111d68
<   If the user is not familiar with the vi, it is also possible to use a
<   earlier (f.e. under windows) created config file from a floppy disk. The
<   floppy can be mounted using the following command:
<   mount /dev/fd0 /mnt/floppy
<   Then the file can be copied with the command:
<   cp /mnt/floppy/mylinux.conf .
< 
124a82,84
>   The other variables are explained in detail with comments in the file
>   example file usermanager/setup/mylinux.conf.
> 
134a95,96
>   The command inclusive the root directory name will be given by the output
>   of the script install-files.sh.
136,137c98,100
< - Installing the boot loader. If the root filesystem was mounted under
<   /mnt/hda2, this is done with the command
---
> - Only if this step was omitted in install-files.sh, you have to install the
>   boot loader. If the root filesystem was mounted under /mnt/hda2, this is
>   done with the command
138a102,107
>   Before this, you may adapt the boot loader configuration in
>   /mnt/hda2/etc/lilo.conf. This you only should do if you are familiar with
>   lilo. If you want to boot other systems than myLinux, you should wait with
>   the adapting of the lilo.conf file till your first boot of myLinux - the
>   other systems have to be mounted on the system partition first so lilo can
>   see them.
149c118
< a few scripts are started which do complete the installation.
---
> a few scripts will be started which do complete the installation.
151c120
< The root password is still set to:
---
> The root password is still set to
154,156c123,128
< You have to change it now using the command chpasswd instead of passwd -
< the latter does not function correctly because root is mentioned in LDAP
< (for the Windows password), but not as POSIX account.
---
> All other passwords are set to the values you mentioned in the file
> mylinux.conf.
> 
> You have to change the root password now using the command chpasswd instead
> of passwd - the latter does not function correctly because root is mentioned
> in LDAP (for the Windows password), but not as a POSIX account.
163a136,191
> 
> 
> Packages
> --------
> 
> For myLinux many applications does exist in form of binary packages. Two
> packages are distributed on the LiveCD, the others on a separate second CD.
> 
> On the first CD there are a package for the graphical user interface
> (XWindows and KDE) and a package for the kernel 2.6. The latter is
> recommended for security reasons and required for many features like a
> virtual private network (VPN) or quality of service (QoS).
> 
> In order to install the packages you have to mount the installation CD
> using the command
> mount /mnt/cdrom
> 
> Then you can install the packages by the commands
> /mnt/cdrom/packages/graphic-install.sh
> /mnt/cdrom/packages/kernel26-install.sh
> 
> In order to remove the CD you have to unmount her first using the
> command
> umount /mnt/cdrom
> 
> On the second CD there are many other applications. You can install them
> by mounting the second CD and then typing the command
> /mnt/cdrom/<package name>-install.sh
> 
> If you want to see the complete list of packages, you can list the CD
> contents, for exapmle with the command
> ls /mnt/cdrom/*-install.sh
> which will only list the install files.
> 
> 
> Package dependencies
> --------------------
> 
> The following list may be not up to date.
> 
> kernel26
> graphic
> asterisk (graphic, not (!) kernel26)
> doxygen (graphic, python)
> gcc321
> gimp (graphic)
> groupware (postgres, python)
> ipsec (kernel26)
> kaffeine (graphic)
> wincodecs (no dependencies, but makes only sense with kaffeine;
>            warning: you agree to many non free licenses by installing this!)
> openoffice (tcsh, graphic; this can only be installed with kde running!)
> postgres
> python
> tcltk (graphic)
> typo3 (graphic)

File changed: mylinux-usermanager-0.98/publicfiles/ldap2html.pl

63c63,81
< 
---
>   # first notation
>   $STRING =~ s/À/\&auml;/g;
>   $STRING =~ s/ö/\&ouml;/g;
>   $STRING =~ s/Ì/\&uuml;/g;
>   $STRING =~ s/Ä/\&Auml;/g;
>   $STRING =~ s/Ö/\&Ouml;/g;
>   $STRING =~ s/Ü/\&Uuml;/g;
>   $STRING =~ s/ß/\&szlig;/g;
>   # second notation
>   $STRING =~ s/ä/\&auml;/g;
>   $STRING =~ s/ö/\&ouml;/g;
>   $STRING =~ s/ü/\&uuml;/g;
>   $STRING =~ s/Ä/\&Auml;/g;
>   $STRING =~ s/Ö/\&Ouml;/g;
>   $STRING =~ s/Ü/\&Uuml;/g;
>   $STRING =~ s/ß/\&szlig;/g;
>   # masking control characters for regular expressions in base64 encoding
>   $UUENCODED =~ s/\+/\\\+/g;
> print "<!--$UUENCODED+$STRING-->\n";
100,107d117
< $output =~ s/ä/\&auml;/gs;
< $output =~ s/ö/\&ouml;/gs;
< $output =~ s/ü/\&uuml;/gs;
< $output =~ s/Ä/\&Auml;/gs;
< $output =~ s/Ö/\&Ouml;/gs;
< $output =~ s/Ü/\&Uuml;/gs;
< $output =~ s/ß/\&szlig;/gs;
< 

File changed: mylinux-usermanager-0.98/publicfiles/login.bat

5,6c5,7
< net use s: %LOGONSERVER%\documents /persistent:no
< net use t: %LOGONSERVER%\templates /persistent:no
---
> net use #DOCUMENTSDRIVE# %LOGONSERVER%\#DOCUMENTSSHARE# /persistent:no
> net use #TEMPLATEDRIVE# %LOGONSERVER%\#TEMPLATESHARE# /persistent:no
> net use #SOFTWAREDRIVE# %LOGONSERVER%\#SOFTWARESHARE# /persistent:no
11c12
< if exist u:\registry.reg goto :update
---
> if exist #HOMEDRIVE#\registry.reg goto :update
13c14
< if exist u:\registry-update.reg goto :update2
---
> if exist #HOMEDRIVE#\registry-update.reg goto :update2
19,20c20,21
< regedit /s u:\registry.reg
< del u:\registry.reg
---
> regedit /s #HOMEDRIVE#\registry.reg
> ren #HOMEDRIVE#\registry.reg #HOMEDRIVE#\registry-old.reg
27,28c28,29
< regedit /s u:\registry-update.reg
< del u:\registry-update.reg
---
> regedit /s #HOMEDRIVE#\registry-update.reg
> ren #HOMEDRIVE#\registry-update.reg #HOMEDRIVE#\registry-update-old.reg

File changed: mylinux-usermanager-0.98/regtemplate.reg

2a3,28
> [HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Common\UserInfo]
> "UserInitials"=hex:#HEXINITIALS#
> "UserName"=hex:#HEXFULLNAME#
> 
> [HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Common\General]
> "FirstRun"=dword:00000000
> "UserTemplates"="#TEMPLATEDRIVE#"
> 
> [HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Access\Settings]
> "Default Database Directory"="#HOMEDRIVE#\\#MYDOCUMENTS#"
> 
> [HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Excel\Options]
> "DefaultPath"="#HOMEDRIVE#\\#MYDOCUMENTS#"
> 
> [HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\PowerPoint\RecentFolderList]
> "Default"="#HOMEDRIVE#\\#MYDOCUMENTS#"
> 
> [HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Publisher]
> "Default_Path"="#HOMEDRIVE#\\#MYDOCUMENTS#"
> "Doc_Path"="#HOMEDRIVE#\\#MYDOCUMENTS#"
> "Picture_path"="#HOMEDRIVE#\\#MYDOCUMENTS#"
> 
> [HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Options]
> "FirstRun"=dword:00000000
> "DOC-PATH"="#HOMEDRIVE#\\#MYDOCUMENTS#"
> 
41,43c67,73
< [HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Common\UserInfo]
< "UserInitials"=hex:#HEXINITIALS#
< "UserName"=hex:#HEXFULLNAME#
---
> [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
> "Personal"="#HOMEDRIVE#\\#MYDOCUMENTS#"
> "My Pictures"="#HOMEDRIVE#\\#MYDOCUMENTS#"
> 
> [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
> "Personal"="#HOMEDRIVE#\\#MYDOCUMENTS#"
> "Cache"="#WINTEMPPATH#\\Temporary Internet Files"

File changed: mylinux-usermanager-0.98/setup/createcontrolscript.sh

69,70d68
< echo "Creating Windows Batch Files"
< ./createbatchfiles.sh

File changed: mylinux-usermanager-0.98/setup/mylinux.conf

64a65,94
> HOMEDRIVE="U:"			# the users home directory is mapped to this
> 				# drive letter on windows
> MYDOCUMENTS="Eigene Dateien"	# this directory is created in the users home
> 				# directory and mapped to the "my documents"
> 				# icon on the windows desktop; furthermore,
> 				# this is the default documents destination
> 				# for most of the MS Office applications
> TEMPLATEPATH="/var/lib/samba/templates"
> 				# MS Office template directory on the myLinux
> 				# server
> TEMPLATESHARE="templates"	# windows share name for the template
> 				# directory
> TEMPLATEDRIVE="T:"		# windows network drive for the template
> 				# directory
> DOCUMENTSPATH="/var/lib/samba/documents"
> 				# where to store shared documents
> DOCUMENTSSHARE="documents"	# windows share name
> DOCUMENTSDRIVE="S:"		# windows network drive letter for documents
> SOFTWAREPATH="/var/lib/samba/software"
> 				# where to store shared windows applications
> SOFTWARESHARE="software"	# windows share name
> SOFTWAREDRIVE="V:"		# windows network drive letter for software
> 
> WINTEMPPATH="C:\\\\TEMP"	# where to create the directory
> 				# "Temporary Internet Files" (maybe U:); if
> 				# this is on the local (client) disk, you have
> 				# to make sure that the directory does exist
> 				# and every user has write permissions in it
> 				# on *every* machine
> 

File changed: mylinux-usermanager-0.98/setup/mylinux.sh

39a40
>   -e "s|#MAILDBPATH#|$MAILDBPATH|g" \
42a44,48
>   -e "s|#PROXYSERVER#|$PROXYSERVER|g" \
>   -e "s|#PROXYPORT#|$PROXYPORT|g" \
>   -e "s|#TEMPLATEDRIVE#|$TEMPLATEDRIVE|g" \
>   -e "s|#HOMEDRIVE#|$HOMEDRIVE|g" \
>   -e "s|#MYDOCUMENTS#|$MYDOCUMENTS|g" \
43a50,69
> ########################################################################
> # File:           env.pm                                               #
> # myLinux Server: Copyright (c) 2004 Michael Oberg                     #
> # Version:        0.98                                                 #
> # Author:         Michael Oberg <michael.oberg@mylinuxproject.de>      #
> #                                                                      #
> # This program is free software; you can redistribute it and/or modify #
> # it under the terms of the GNU General Public License as published by #
> # the Free Software Foundation; either version 2 of the License, or    #
> # (at your option) any later version.                                  #
> #                                                                      #
> # This program is distributed in the hope that it will be useful,      #
> # but WITHOUT ANY WARRANTY; without even the implied warranty of       #
> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the         #
> # GNU General Public License for more details.                         #
> #                                                                      #
> # You should have received a copy of the GNU Public License along      #
> # with this package; if not, write to the Free Software Foundation,    #
> # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.       #
> ########################################################################
46,50d71
< # ----------------------------------------------------------- #
< # Copyright (c) 2003 by Michael Oberg                         #
< # Alle Rechte vorbehalten.                                    #
< # ----------------------------------------------------------- #
< 
64a86,91
> 
> $templatedrive = "#TEMPLATEDRIVE#";	# windows network drive for MS Office
> 					# templates
> $homedrive = "#HOMEDRIVE#";		# windows home network drive
> $mydocuments = "#MYDOCUMENTS#";		# windows directory "my documents"
> 
68c95,96
< $maildir = "/var/imap/spool/user";	# users mail directories, needed for
---
> 
> $maildir = "#MAILDBPATH#/spool/user";	# users mail directories, needed for
77a106
> 
80a110
> 

File changed: mylinux-usermanager-0.98/setup/samba.sh

57c57
< 	logon drive = U:
---
> 	logon drive = $HOMEDRIVE
93a94,136
> if [ ! -d "$TEMPLATEPATH" ]
> then
>   mkdir -m 2775 -p "$TEMPLATEPATH"
> fi
> chgrp -R users "$TEMPLATEPATH"
> if [ ! -d "$DOCUMENTSPATH" ]
> then
>   mkdir -m 2770 -p "$DOCUMENTSPATH"
> fi
> chgrp -R users "$DOCUMENTSPATH"
> if [ ! -d "$SOFTWAREPATH" ]
> then
>   mkdir -m 2755 -p "$SOFTWAREPATH" \
> 		   "$SOFTWAREPATH/Admin" \
> 		   "$SOFTWAREPATH/Admin/PuTTY" \
> 		   "$SOFTWAREPATH/Images" \
> 		   "$SOFTWAREPATH/Tools" \
> 		   "$SOFTWAREPATH/Multimedia" \
> 		   "$SOFTWAREPATH/Windows" \
> 		   "$SOFTWAREPATH/Windows/Internet Explorer" \
> 		   "$SOFTWAREPATH/Windows/Default User" \
> 		   "$SOFTWAREPATH/Windows/Fonts" \
> 		   "$SOFTWAREPATH/Office Service Packs" \
> 		   "$SOFTWAREPATH/Drivers" \
> 		   "$SOFTWAREPATH/MSOffice" \
> 		   "$SOFTWAREPATH/MSPublisher"
> fi
> chgrp -R users "$SOFTWAREPATH"
> cat << EOF > "$SOFTWAREPATH/Windows/AddDomainGroups.cmd"
> rem German version:
> net localgroup Administratoren "$WINDOMAIN\\Domain Admins" /add
> net localgroup Benutzer "$WINDOMAIN\\Domain Users" /add
> net localgroup G„ste "$WINDOMAIN\\Domain Guests" /add
> rem US version:
> net localgroup Administrators "$WINDOMAIN\\Domain Admins" /add
> net localgroup Users "$WINDOMAIN\\Domain Users" /add
> net localgroup Guests "$WINDOMAIN\\Domain Guests" /add
> pause
> EOF
> cat << EOF > "$SOFTWAREPATH/Windows/nettime.cmd"
> net time \\\\$HOSTNAME /set /yes
> EOF
> 
95c138
< [templates]
---
> [$TEMPLATESHARE]
97c140
< 	path = /var/lib/samba/templates
---
> 	path = $TEMPLATEPATH
101,102c144,145
< 	create mask = 0644
< 	directory mask = 0755
---
> 	create mask = 0664
> 	directory mask = 0775
104c147
< [software]
---
> [$SOFTWARESHARE]
106c149
< 	path = /var/lib/samba/software
---
> 	path = $SOFTWAREPATH
113c156
< [documents]
---
> [$DOCUMENTSSHARE]
115c158
< 	path = /var/lib/samba/documents
---
> 	path = $DOCUMENTSPATH
119d161
< 	#force group = +documents	# you have to create this group
162,163c204,205
< 	create mask = 664
< 	directory mask = 0775
---
> 	create mask = 666
> 	directory mask = 0777
178c220,229
< cat /usr/local/sbin/mylinux/login.bat | sed "s/#WEBSERVER#/$WEBSERVER/g" > /var/lib/samba/netlogon/login.bat
---
> cat /usr/local/sbin/mylinux/login.bat \
>   | sed -e "s/#WEBSERVER#/$WEBSERVER/g" \
>         -e "s/#HOMEDRIVE#/$HOMEDRIVE/g" \
>         -e "s/#TEMPLATEDRIVE#/$TEMPLATEDRIVE/g" \
>         -e "s/#TEMPLATESHARE#/$TEMPLATESHARE/g" \
>         -e "s/#DOCUMENTSDRIVE#/$DOCUMENTSDRIVE/g" \
>         -e "s/#DOCUMENTSSHARE#/$DOCUMENTSSHARE/g" \
>         -e "s/#SOFTWAREDRIVE#/$SOFTWAREDRIVE/g" \
>         -e "s/#SOFTWARESHARE#/$SOFTWARESHARE/g" \
>   > /var/lib/samba/netlogon/login.bat

File changed: mylinux-usermanager-0.98/usermanager.pm

5c5
< # Version:        0.92                                                 #
---
> # Version:        0.98                                                 #
416c416
<   $TMPOUT = `/bin/mkdir -m 700 "$HOMEDIR/Eigene Dateien"`;
---
>   $TMPOUT = `/bin/mkdir -m 700 "$HOMEDIR/$env::mydocuments"`;
436c436,439
<   $REGTEMPLATE =~ s/#PROXYPOR#/$env::proxyport/gs;
---
>   $REGTEMPLATE =~ s/#PROXYPORT#/$env::proxyport/gs;
>   $REGTEMPLATE =~ s/#TEMPLATEDRIVE#/$env::templatedrive/gs;
>   $REGTEMPLATE =~ s/#HOMEDRIVE#/$env::homedrive/gs;
>   $REGTEMPLATE =~ s/#MYDOCUMENTS#/$env::mydocuments/gs;