1 --- samba_3_0/docs/manpages/swat.8.orig 2003-06-06 16:16:24.000000000 -0400
2 +++ samba_3_0/docs/manpages/swat.8 2003-06-06 16:25:13.000000000 -0400
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
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\&.
21 -/usr/local/samba/sbin/swat
25 -/usr/local/samba/swat/images/*
26 +/usr/share/samba/swat/images/*
29 -/usr/local/samba/swat/help/*
30 +/usr/share/samba/swat/help/*
33 .SS "Inetd Installation"
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\&.
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):
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)\&.
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. You need to uncomment the line, though, because it is added commented out for security reasons):
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
55 One 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\&.
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\&.