1--- Makefile.Linux
2+++ Makefile.Linux	1999/01/14 08:41:28
3@@ -0,0 +1,48 @@
4+#
5+#
6+# Makefile.Linux to integrate package into source tree of S.u.S.E.-Linux
7+#
8+# Copyright (C) 1996 S.u.S.E. GmbH Fuerth, Germany.
9+#
10+# Please send bug-fixes or comments to feedback@suse.de.
11+#
12+# Author: Florian La Roche  <florian@suse.de>
13+#         Volker Lendecke   <vl@suse.de>
14+#
15+#
16+
17+doc=/usr/doc/packages/samba
18+
19+compile:
20+	(cd source ; \
21+		./configure --prefix=/usr --libdir=/etc \
22+			--with-privatedir=/etc --localstatedir=/var/log \
23+			--with-swatdir=/usr/lib/samba/swat )
24+	make LOCKDIR=/var/lock/samba SBINDIR=/usr/sbin \
25+		CODEPAGEDIR=/usr/lib/samba/codepages -C source
26+
27+install:
28+	mkdir -p /usr/lib/samba
29+	make install LOCKDIR=/var/lock/samba SBINDIR=/usr/sbin \
30+		CODEPAGEDIR=/usr/lib/samba/codepages -C source
31+	mkdir -p $(doc)
32+	cp -a docs/* $(doc)
33+	rm -rf $(doc)/*.[0-9] 
34+	cp -R examples $(doc)
35+	chmod 644 `find $(doc) -type f`
36+	chmod 755 `find $(doc) -type d`
37+	mkdir -p /usr/lib/samba/scripts
38+	install -m 644 -o root -g root source/script/mksmbpasswd.sh \
39+		/usr/sbin/mksmbpasswd.sh
40+	install -m 644 -o root -g root source/script/updatesmbpasswd.sh \
41+		/usr/sbin/updatesmbpasswd.sh
42+	install -m 644 smb.conf /etc/smb.conf
43+	install -m 644 lmhosts /etc/lmhosts
44+	install -m 600 smbpasswd -o root -g root /etc/smbpasswd
45+	install rc /sbin/init.d/smb
46+	ln -sf ../smb /sbin/init.d/rc2.d/S20smb
47+	ln -sf ../smb /sbin/init.d/rc2.d/K20smb
48+	ln -sf ../smb /sbin/init.d/rc3.d/S20smb
49+	ln -sf ../smb /sbin/init.d/rc3.d/K20smb
50+	mkdir -p /var/adm/fillup-templates
51+	cp rc.config.samba /var/adm/fillup-templates
52--- lmhosts
53+++ lmhosts	1999/01/14 08:41:28
54@@ -0,0 +1,8 @@
55+# This file provides the same function that the 
56+# lmhosts file does for Windows.
57+# It provides another way to map netbios names to ip addresses.
58+# See the section on 'name resolve order' in the manual page to
59+# smb.conf for more information.
60+
61+# Sample entry:
62+# 192.168.1.1 samba
63--- rc
64+++ rc	1999/01/14 08:41:28
65@@ -0,0 +1,32 @@
66+#! /bin/sh
67+# Copyright (c) 1996 StarDivision GmbH. All rights reserved.
68+# Copyright (c) 1996 S.u.S.E. Gmbh Fuerth, Germany. All rights reserved.
69+#
70+# Author: Bastian Epting, StarDivision GmbH <be@stardivision.de>
71+#      Florian La Roche, <florian@suse.de>
72+#      Volker Lendecke, <vl@suse.de>
73+#
74+
75+. /etc/rc.config
76+
77+test "$START_SMB" = "yes" || exit 0
78+
79+case "$1" in
80+    start)
81+        echo -n "Starting SMB services."
82+        /usr/sbin/nmbd -D
83+        /usr/sbin/smbd -D
84+        echo
85+        ;;
86+    stop)
87+        echo -n "Shutting down SMB services."
88+        killproc -TERM /usr/sbin/nmbd
89+        killproc -TERM /usr/sbin/smbd
90+        echo
91+        ;;
92+    *)
93+        echo "Usage: $0 {start|stop}"
94+        exit 1
95+esac
96+
97+exit 0
98--- rc.config.samba
99+++ rc.config.samba	1999/01/14 08:41:28
100@@ -0,0 +1,5 @@
101+#
102+# start samba? ("yes" or "no")
103+# Windows 95 / NT  -  File- and Printservices
104+#
105+START_SMB="no"
106--- smb.conf
107+++ smb.conf	1999/01/14 08:41:28
108@@ -0,0 +1,48 @@
109+[global]
110+   workgroup = arbeitsgruppe
111+   guest account = nobody
112+   keep alive = 30
113+   os level = 2
114+   security = user
115+   printing = bsd
116+   printcap name = /etc/printcap
117+   load printers = yes
118+
119+; Please uncomment the following entry and replace the 
120+; ip number and netmask with the correct numbers for
121+; your ethernet interface.
122+;   interfaces = 192.168.1.1/255.255.255.0
123+   
124+; If you want Samba to act as a wins server, please set
125+; 'wins support = yes'
126+   wins support = no
127+
128+; If you want Samba to use an existing wins server,
129+; please uncomment the following line and replace
130+; the dummy with the wins server's ip number.
131+;   wins server = 192.168.1.1
132+
133+[homes]
134+   comment = Heimatverzeichnis
135+   browseable = no
136+   read only = no
137+   create mode = 0750
138+
139+; The following share gives all users access to the Server's CD drive,
140+; assuming it is mounted under /cd. To enable this share, please remove
141+; the semicolons before the lines
142+;
143+; [cdrom]
144+;   comment = Linux CD-ROM
145+;   path = /cd
146+;   read only = yes
147+;   locking = no
148+
149+[printers]
150+   comment = All Printers
151+   browseable = no
152+   printable = yes
153+   public = no
154+   read only = yes
155+   create mode = 0700
156+   directory = /tmp
157--- smbpasswd
158+++ smbpasswd	1999/01/14 08:41:28
159@@ -0,0 +1,3 @@
160+# Sample smbpasswd file.
161+# To use this, set 'encrypt passwords = yes' in the [global]-section
162+# of /etc/smb.conf
163