• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/packaging/Debian/debian-sarge/patches/
1--- samba-3.0.4/docs/manpages/swat.8.orig	2004-05-05 10:22:50.000000000 -0400
2+++ samba-3.0.4/docs/manpages/swat.8	2004-05-10 13:25:53.000000000 -0400
3@@ -80,4 +80,10 @@
4 .SH "INSTALLATION"
5 .PP
6+\fBDebian-specific Note\fR: all these steps have already been done for
7+you. However, by default, swat is not enabled. This has been done for
8+security reasons. To enable swat you need to edit /etc/inetd.conf,
9+uncomment the swat entry (usually at the end of the file), and then
10+restart inetd.
11+.PP
12 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\&.
13 .PP
14@@ -87,12 +94,12 @@
15 .TP 3n
16 •
17-/usr/local/samba/sbin/swat
18+/usr/sbin/swat
19 .TP 3n
20 •
21-/usr/local/samba/swat/images/*
22+/usr/share/samba/swat/images/*
23 .TP 3n
24 •
25-/usr/local/samba/swat/help/*
26+/usr/share/samba/swat/help/*
27 .SS "Inetd Installation"
28 .PP
29 You need to edit your
30@@ -125,7 +131,7 @@
31 .PP
32 In
33 \fI/etc/services\fR
34-you need to add a line like this:
35+you need to add a line like this (not needed for Debian):
36 .PP
37 \fBswat 901/tcp\fR
38 .PP
39@@ -140,9 +146,9 @@
40 .PP
41 In
42 \fI/etc/inetd.conf\fR
43-you should add a line like this:
44+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):
45 .PP
46-\fBswat stream tcp nowait.400 root /usr/local/samba/sbin/swat swat\fR
47+\fBswat stream tcp nowait.400 root /usr/sbin/swat swat\fR
48 .PP
49 Once you have edited
50 \fI/etc/services\fR
51@@ -166,13 +172,13 @@
52 .RE
53 .PP
54-\fI/usr/local/samba/lib/smb.conf\fR
55+\fI/etc/samba/smb.conf\fR
56 .RS 3n
57 This is the default location of the
58 \fBsmb.conf\fR(5)
59 server configuration file that swat edits. Other common places that systems install this file are
60 \fI /usr/samba/lib/smb.conf\fR
61 and
62-\fI/etc/smb.conf \fR. This file describes all the services the server is to make available to clients.
63+\fI/etc/samba/smb.conf \fR. This file describes all the services the server is to make available to clients.
64 .RE
65 .SH "WARNINGS"
66 .PP
67