summaryrefslogtreecommitdiffstats
path: root/docs/docbook/manpages/swat.8.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/docbook/manpages/swat.8.sgml')
-rw-r--r--docs/docbook/manpages/swat.8.sgml62
1 files changed, 59 insertions, 3 deletions
diff --git a/docs/docbook/manpages/swat.8.sgml b/docs/docbook/manpages/swat.8.sgml
index c0052f3d53d..b67f53777dd 100644
--- a/docs/docbook/manpages/swat.8.sgml
+++ b/docs/docbook/manpages/swat.8.sgml
@@ -62,7 +62,7 @@
<command>swat</command> in demo mode. In that mode anyone will be able to modify
the <filename>smb.conf</filename> file. </para>
- <para><emphasis>WARNING: Do NOT enable this option on a production
+ <para><emphasis>Do NOT enable this option on a production
server. </emphasis></para></listitem>
</varlistentry>
</variablelist>
@@ -120,6 +120,41 @@
</refsect2>
+ <refsect2>
+ <title>Xinetd Installation</title>
+
+ <para>Newer Linux systems ship with a more secure implementation
+ of the inetd meta-daemon. The <command>xinetd</command> daemon
+ can read configuration inf9ormation from a single file (i.e.
+ <filename>/etc/xinetd.conf</filename>) or from a collection
+ of service control files in the <filename>xinetd.d/</filename> directory.
+ These directions assume the latter configuration.
+ </para>
+
+ <para>
+ The following file should be created as <filename>/etc/xientd.d/swat</filename>.
+ It is then be neccessary cause the meta-daemon to reload its configuration files.
+ Refer to the xinetd man page for details on how to accomplish this.
+ </para>
+
+<para><programlisting>
+## /etc/xinetd.d/swat
+service swat
+{
+ port = 901
+ socket_type = stream
+ wait = no
+ only_from = localhost
+ user = root
+ server = /usr/local/samba/bin/swat
+ log_on_failure += USERID
+ disable = No
+}
+</programlisting></para>
+
+ </refsect2>
+
+
<refsect2>
<title>Launching</title>
@@ -131,6 +166,21 @@
connection open to password sniffing as passwords will be sent
in the clear over the wire. </para>
</refsect2>
+
+</refsect1>
+
+<refsect1>
+ <title>TROUBLESHOOTING</title>
+
+ <para>
+ One of the common causes of difficulty when installing Samba and SWAT
+ is the existsnece of some type of firewall or port filtering software
+ on the Samba server. Make sure that the appropriate ports
+ outlined in this man page are available on the server and are not currently
+ being blocked by some type of security software such as iptables or
+ "port sentry". For more troubleshooting information, refer to the additional
+ documentation included in the Samba distribution.
+ </para>
</refsect1>
<refsect1>
@@ -144,6 +194,12 @@
</varlistentry>
<varlistentry>
+ <term><filename>/etc/xinetd.d/swat</filename></term>
+ <listitem><para>This file must contain suitable startup
+ information for the <command>xinetd</command> meta-daemon.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><filename>/etc/services</filename></term>
<listitem><para>This file must contain a mapping of service name
(e.g., swat) to service port (e.g., 901) and protocol type
@@ -168,7 +224,7 @@
<para><command>swat</command> will rewrite your <filename>smb.conf
</filename> file. It will rearrange the entries and delete all
- comments, <parameter>include=</parameter> and <parameter>copy=
+ comments, <parameter>include=</parameter> and <parameter>copy="
</parameter> options. If you have a carefully crafted <filename>
smb.conf</filename> then back it up or don't use swat! </para>
</refsect1>
@@ -185,7 +241,7 @@
<title>SEE ALSO</title>
<para><command>inetd(5)</command>,
<ulink url="smbd.8.html"><command>smbd(8)</command></ulink>,
- <ulink url="smb.conf.5.html">smb.conf(5)</ulink>
+ <ulink url="smb.conf.5.html">smb.conf(5)</ulink>, <command>xinetd(8)</command>
</para>
</refsect1>