documentation.patch [plain text]
--- samba-3.0.4/docs/manpages/swat.8.orig 2004-05-05 10:22:50.000000000 -0400
+++ samba-3.0.4/docs/manpages/swat.8 2004-05-10 13:25:53.000000000 -0400
@@ -80,4 +80,10 @@
.SH "INSTALLATION"
.PP
+\fBDebian-specific Note\fR: all these steps have already been done for
+you. However, by default, swat is not enabled. This has been done for
+security reasons. To enable swat you need to edit /etc/inetd.conf,
+uncomment the swat entry (usually at the end of the file), and then
+restart inetd.
+.PP
Swat is included as binary package with most distributions\&. The package manager in this case takes care of the installation and configuration\&. This section is only for those who have compiled swat from scratch\&.
.PP
@@ -87,12 +94,12 @@
.TP 3n
\(bu
-/usr/local/samba/sbin/swat
+/usr/sbin/swat
.TP 3n
\(bu
-/usr/local/samba/swat/images/*
+/usr/share/samba/swat/images/*
.TP 3n
\(bu
-/usr/local/samba/swat/help/*
+/usr/share/samba/swat/help/*
.SS "Inetd Installation"
.PP
You need to edit your
@@ -125,7 +131,7 @@
.PP
In
\fI/etc/services\fR
-you need to add a line like this:
+you need to add a line like this (not needed for Debian):
.PP
\fBswat 901/tcp\fR
.PP
@@ -140,9 +146,9 @@
.PP
In
\fI/etc/inetd.conf\fR
-you should add a line like this:
+you should add a line like this (not needed for Debian since the maintainer scripts do it automatically. You need to uncomment the line, though, because it is added commented out for security reasons):
.PP
-swat stream tcp nowait.400 root /usr/local/samba/sbin/swat swat
+swat stream tcp nowait.400 root /usr/sbin/swat swat
.PP
Once you have edited
\fI/etc/services\fR
@@ -166,13 +172,13 @@
.RE
.PP
-\fI/usr/local/samba/lib/smb.conf\fR
+\fI/etc/samba/smb.conf\fR
.RS 3n
This is the default location of the
\fBsmb.conf\fR(5)
server configuration file that swat edits. Other common places that systems install this file are
\fI /usr/samba/lib/smb.conf\fR
and
-\fI/etc/smb.conf \fR. This file describes all the services the server is to make available to clients.
+\fI/etc/samba/smb.conf \fR. This file describes all the services the server is to make available to clients.
.RE
.SH "WARNINGS"
.PP