Bringing packaging/Debian/* to a more recent state.
[kai/samba.git] / packaging / Debian / debian / patches / documentation.patch
1 diff -uNr samba-2.999+3.0.alpha21.orig/docs/htmldocs/using_samba/ch06_05.html samba-2.999+3.0.alpha21/docs/htmldocs/using_samba/ch06_05.html
2 --- samba-2.999+3.0.alpha21.orig/docs/htmldocs/using_samba/ch06_05.html 2000-07-30 02:38:29.000000000 -0500
3 +++ samba-2.999+3.0.alpha21/docs/htmldocs/using_samba/ch06_05.html      2002-12-16 23:15:46.000000000 -0600
4 @@ -102,13 +102,13 @@
5  WARNING:</strong> You will need to use at least Samba 2.1 to ensure that PDC functionality for Windows NT clients is present. Prior to Samba 2.1, only limited user authentication for NT clients was present. At the time this book went to press, Samba 2.0.5 was the latest version, but Samba  2.1 was available through CVS download. Instructions on downloading alpha versions of Samba are given in <a href="appe_01.html"><b>Appendix E, <CITE CLASS="appendix">Downloading Samba with CVS</cite></b></a>.</p></blockquote><P CLASS="para">
6  As before, you need to ensure that Samba is a primary domain controller for the current workgroup and is using user-level security. However, you must also ensure that Samba is using encrypted passwords. In other words, alter the <CODE CLASS="literal">
7  [global]</code> options the previous example to include the <CODE CLASS="literal">
8 -encrypted</code> <CODE CLASS="literal">
9 +encrypt</code> <CODE CLASS="literal">
10  passwords</code> <CODE CLASS="literal">
11  =</code> <CODE CLASS="literal">
12  yes</code> option, as shown here: </p><PRE CLASS="programlisting">
13  [global]
14         workgroup = SIMPLE
15 -       encrypted passwords = yes
16 +       encrypt passwords = yes
17         domain logons = yes
18  
19         security = user </pre></div><DIV CLASS="sect3">
20 diff -uNr samba-2.999+3.0.alpha21.orig/docs/manpages/swat.8 samba-2.999+3.0.alpha21/docs/manpages/swat.8
21 --- samba-2.999+3.0.alpha21.orig/docs/manpages/swat.8   2002-11-26 20:54:13.000000000 -0600
22 +++ samba-2.999+3.0.alpha21/docs/manpages/swat.8        2002-12-16 23:15:46.000000000 -0600
23 @@ -42,19 +42,26 @@
24  server. \fR
25  .SH "INSTALLATION"
26  .PP
27 +\fBDebian-specific Note\fR: all these steps have already been done for
28 +you. However, by default, swat is not enabled. This has been done for
29 +security reasons. To enable swat you need to edit /etc/inetd.conf,
30 +uncomment the swat entry (usually at the end of the file), and then
31 +restart inetd.
32 +.PP
33  After you compile SWAT you need to run \fBmake install
34  \fR to install the \fBswat\fR binary
35 -and the various help files and images. A default install would put 
36 -these in: 
37 +and the various help files and images. Under \fBDebian\fR, these
38 +files are in (please note that these locations are different than the
39 +default location):
40  .TP 0.2i
41  \(bu
42 -/usr/local/samba/bin/swat
43 +/usr/sbin/*
44  .TP 0.2i
45  \(bu
46 -/usr/local/samba/swat/images/*
47 +/usr/share/samba/swat/images/*
48  .TP 0.2i
49  \(bu
50 -/usr/local/samba/swat/help/*
51 +/usr/share/samba/swat/help/*
52  .SS "INETD INSTALLATION"
53  .PP
54  You need to edit your \fI/etc/inetd.conf
55 @@ -62,7 +69,7 @@
56  to enable SWAT to be launched via \fBinetd\fR.
57  .PP
58  In \fI/etc/services\fR you need to 
59 -add a line like this: 
60 +add a line like this (not needed for Debian): 
61  .PP
62  \fBswat            901/tcp\fR
63  .PP
64 @@ -76,10 +83,11 @@
65  \fBinetd\fR daemon). 
66  .PP
67  In \fI/etc/inetd.conf\fR you should 
68 -add a line like this: 
69 +add a line like this (not needed for Debian, the postinst script takes 
70 +care of this): 
71  .PP
72  \fBswat    stream  tcp     nowait.400  root
73 -/usr/local/samba/bin/swat swat\fR
74 +/usr/sbin/swat swat\fR
75  .PP
76  One you have edited \fI/etc/services\fR 
77  and \fI/etc/inetd.conf\fR you need to send a 
78 @@ -105,11 +113,10 @@
79  (e.g., swat) to service port (e.g., 901) and protocol type 
80  (e.g., tcp).  
81  .TP
82 -\fB\fI/usr/local/samba/lib/smb.conf\fB\fR
83 +\fB\fI/etc/samba/smb.conf\fB\fR
84  This is the default location of the \fIsmb.conf(5)
85 -\fR server configuration file that swat edits. Other 
86 -common places that systems install this file are \fI  /usr/samba/lib/smb.conf\fR and \fI/etc/smb.conf
87 -\fR.  This file describes all the services the server 
88 +\fRserver configuration file that swat edits.
89 +This file describes all the services the server 
90  is to make available to clients. 
91  .SH "WARNINGS"
92  .PP
93 --- samba-2.2.2.cvs20020120.orig/swat/README
94 +++ samba-2.2.2.cvs20020120/swat/README
95 @@ -1,3 +1,11 @@
96 +[Debian-specific Note: you can safely skip the installation notes in
97 +this document. swat was configured for you when the package was
98 +installed. For security reasons, swat is not enabled. To enable it, you
99 +need to edit /etc/inetd.conf, uncomment the swat entry, and reload
100 +inetd. Please note that the file locations given in this file are not
101 +correct for the Debian version of swat. The correct file locations are
102 +given in swat's man page.]
103 +
104  This is a brief description of how to install and use the Samba Web
105  Administration Tool on your machine.
106