2 +++ Makefile.Linux 1998/05/06 15:58:42
6 +# Makefile.Linux to integrate package into source tree of S.u.S.E.-Linux
8 +# Copyright (C) 1996 S.u.S.E. GmbH Fuerth, Germany.
10 +# Please send bug-fixes or comments to feedback@suse.de.
12 +# Author: Florian La Roche <florian@suse.de>
13 +# Volker Lendecke <vl@suse.de>
17 +doc=/usr/doc/packages/samba
23 + make install -C source
26 + rm -rf $(doc)/*.[0-9]
27 + cp -R examples $(doc)
28 + chmod 644 `find $(doc) -type f`
29 + chmod 755 `find $(doc) -type d`
30 + install -m 644 smb.conf /etc/smb.conf
31 + install rc /sbin/init.d/smb
32 + install -m 755 source/mksmbpasswd.sh /usr/bin/mksmbpasswd.sh
33 + ln -sf ../smb /sbin/init.d/rc2.d/S20smb
34 + ln -sf ../smb /sbin/init.d/rc2.d/K20smb
35 + ln -sf ../smb /sbin/init.d/rc3.d/S20smb
36 + ln -sf ../smb /sbin/init.d/rc3.d/K20smb
37 + mkdir -p /var/adm/fillup-templates
38 + cp rc.config.samba /var/adm/fillup-templates
40 +++ doinst.sh 1998/05/06 15:54:52
43 +# install/doinst.sh - to be done after extraction
45 +# Copyright (c) 1997 S.u.S.E. GmbH Fuerth, Germany.
48 +echo "Updating etc/rc.config..."
49 +if [ -x bin/fillup ] ; then
50 + bin/fillup -q -d = etc/rc.config var/adm/fillup-templates/rc.config.samba
52 + echo "ERROR: fillup not found. This should not happen. Please compare"
53 + echo "etc/rc.config and var/adm/fillup-templates/rc.config.samba and"
54 + echo "update by hand."
58 +++ rc 1998/05/06 15:54:52
61 +# Copyright (c) 1996 StarDivision GmbH. All rights reserved.
62 +# Copyright (c) 1996 S.u.S.E. Gmbh Fuerth, Germany. All rights reserved.
64 +# Author: Bastian Epting, StarDivision GmbH <be@stardivision.de>
65 +# Florian La Roche, <florian@suse.de>
66 +# Volker Lendecke, <vl@suse.de>
71 +test "$START_SMB" = "yes" || exit 0
75 + echo -n "Starting SMB services."
81 + echo -n "Shutting down SMB services."
82 + killproc -TERM /usr/sbin/nmbd
83 + killproc -TERM /usr/sbin/smbd
87 + echo "Usage: $0 {start|stop}"
93 +++ rc.config.samba 1998/05/06 15:54:52
96 +# start samba? ("yes" or "no")
97 +# Windows 95 / NT - File- and Printservices
101 +++ smb.conf 1998/05/06 15:54:52
104 + workgroup = arbeitsgruppe
105 + guest account = nobody
110 + printcap name = /etc/printcap
111 + load printers = yes
113 +; Please uncomment the following entry and replace the
114 +; ip number and netmask with the correct numbers for
115 +; your ethernet interface.
116 +; interfaces = 192.168.1.1/255.255.255.0
118 +; If you want Samba to act as a wins server, please set
119 +; 'wins support = yes'
122 +; If you want Samba to use an existing wins server,
123 +; please uncomment the following line and replace
124 +; the dummy with the wins server's ip number.
125 +; wins server = 192.168.1.1
128 + comment = Heimatverzeichnis
133 +; The following share gives all users access to the Server's CD drive,
134 +; assuming it is mounted under /cd. To enable this share, please remove
135 +; the semicolons before the lines
138 +; comment = Linux CD-ROM
144 + comment = All Printers
152 +++ source/Makefile 1998/05/06 15:54:52
154 ###########################################################################
156 # The base directory for all samba files
157 -BASEDIR = /usr/local/samba
160 # The base manpages directory to put the man pages in
161 # Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist.
162 -MANDIR = /usr/local/man
165 # The directories to put things in. If you use multiple
166 # architectures or share the samba binaries across NFS then
168 # normally only applies to nmbd and smbd
169 # SBINDIR implies a secure binary directory
170 BINDIR = $(BASEDIR)/bin
171 -SBINDIR = $(BASEDIR)/bin
172 -LIBDIR = $(BASEDIR)/lib
173 -VARDIR = $(BASEDIR)/var
174 +SBINDIR = $(BASEDIR)/sbin
175 +LIBDIR = $(BASEDIR)/lib/samba
178 # The permissions to give the executables
181 # Add any optimisation or debugging flags here
182 # add -DSYSLOG for syslog support
187 # You will need to use a ANSI C compiler. This means under SunOS 4 you can't
189 # or in smb.conf (see smb.conf(5))
190 SMBLOGFILE = $(VARDIR)/log.smb
191 NMBLOGFILE = $(VARDIR)/log.nmb
192 -CONFIGFILE = $(LIBDIR)/smb.conf
193 -LMHOSTSFILE = $(LIBDIR)/lmhosts
194 -DRIVERFILE = $(LIBDIR)/printers.def
195 +CONFIGFILE = /etc/smb.conf
196 +LMHOSTSFILE = /etc/lmhosts
197 +DRIVERFILE = /etc/printers.def
198 SMB_PASSWD = $(BINDIR)/smbpasswd
199 -SMB_PASSWD_FILE = $(BASEDIR)/private/smbpasswd
200 -WEB_ROOT = $(BASEDIR)
201 +SMB_PASSWD_FILE = /etc/smbpasswd
204 # the directory where lock files go
205 -LOCKDIR = $(VARDIR)/locks
208 # The directory where code page definition files go
209 CODEPAGEDIR = $(LIBDIR)/codepages
211 # contributed by Andrew.Tridgell@anu.edu.au
212 # add -DLINUX_BIGCRYPT is you have shadow passwords but don't have the
213 # right libraries and includes
214 -# FLAGSM = -DLINUX -DSHADOW_PWD -DFAST_SHARE_MODES
215 +FLAGSM = -DLINUX -DSHADOW_PWD -DFAST_SHARE_MODES
218 # Use this for Linux without shadow passwords or for any Linux
219 --- source/includes.h
220 +++ source/includes.h 1998/05/06 15:54:52
226 -#if _LINUX_C_LIB_VERSION_MAJOR < 5
228 -#define crypt pw_encrypt