~vcs-imports/samba/main

« back to all changes in this revision

Viewing changes to packaging/Debian/debian-sarge/patches/documentation.patch

  • Committer: jerry
  • Date: 2006-07-14 21:48:39 UTC
  • Revision ID: vcs-imports@canonical.com-20060714214839-586d8c489a8fcead
gutting trunk to move to svn:externals

Show diffs side-by-side

added added

removed removed

Lines of Context:
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,6 +80,13 @@
4
 
 .SH "INSTALLATION"
5
 
 
6
 
 .PP
7
 
+\fBDebian-specific Note\fR: all these steps have already been done for
8
 
+you. However, by default, swat is not enabled. This has been done for
9
 
+security reasons. To enable swat you need to edit /etc/inetd.conf,
10
 
+uncomment the swat entry (usually at the end of the file), and then
11
 
+restart inetd.
12
 
+
13
 
+.PP
14
 
 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\&.
15
 
 
16
 
 .PP
17
 
@@ -87,13 +94,13 @@
18
 
 
19
 
 .TP 3
20
 
 \(bu
21
 
-/usr/local/samba/sbin/swat
22
 
+/usr/sbin/swat
23
 
 .TP
24
 
 \(bu
25
 
-/usr/local/samba/swat/images/*
26
 
+/usr/share/samba/swat/images/*
27
 
 .TP
28
 
 \(bu
29
 
-/usr/local/samba/swat/help/*
30
 
+/usr/share/samba/swat/help/*
31
 
 .LP
32
 
 
33
 
 .SS "Inetd Installation"
34
 
@@ -102,7 +109,7 @@
35
 
 You need to edit your \fI/etc/inetd\&.conf \fR and \fI/etc/services\fR to enable SWAT to be launched via \fBinetd\fR\&.
36
 
 
37
 
 .PP
38
 
-In \fI/etc/services\fR you need to add a line like this:
39
 
+In \fI/etc/services\fR you need to add a line like this (not needed for Debian):
40
 
 
41
 
 .PP
42
 
 \fBswat 901/tcp\fR
43
 
@@ -114,10 +121,10 @@
44
 
 the choice of port number isn't really important except that it should be less than 1024 and not currently used (using a number above 1024 presents an obscure security hole depending on the implementation details of your\fBinetd\fR daemon)\&.
45
 
 
46
 
 .PP
47
 
-In \fI/etc/inetd\&.conf\fR you should add a line like this:
48
 
+In \fI/etc/inetd\&.conf\fR 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):
49
 
 
50
 
 .PP
51
 
-\fBswat stream tcp nowait\&.400 root /usr/local/samba/sbin/swat swat\fR
52
 
+\fBswat stream tcp nowait\&.400 root /usr/sbin/swat swat\fR
53
 
 
54
 
 .PP
55
 
 Once you have edited \fI/etc/services\fR and \fI/etc/inetd\&.conf\fR you need to send a HUP signal to inetd\&. To do this use \fBkill \-1 PID \fR where PID is the process ID of the inetd daemon\&.
56
 
@@ -141,8 +148,8 @@
57
 
 This file must contain a mapping of service name (e\&.g\&., swat) to service port (e\&.g\&., 901) and protocol type (e\&.g\&., tcp)\&.
58
 
 
59
 
 .TP
60
 
-\fI/usr/local/samba/lib/smb\&.conf\fR
61
 
-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\&.
62
 
+\fI/etc/samba/smb\&.conf\fR
63
 
+This is the default location of the \fBsmb\&.conf\fR(5) server configuration file that swat edits\&. This file describes all the services the server is to make available to clients\&.
64
 
 
65
 
 .SH "WARNINGS"
66