summaryrefslogtreecommitdiff
path: root/docs-xml/Samba3-HOWTO
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-09-14 23:08:53 -0700
committerAndrew Bartlett <abartlet@samba.org>2012-09-17 22:06:14 +0200
commit27359acf59cc7899e8de164f9311ef3b2b6db85a (patch)
tree2554c99fe3b469f0c4ce72f1e23eaca6a5df5268 /docs-xml/Samba3-HOWTO
parent64e3f1c637b940e60d3d6988a033f4d391b7dab9 (diff)
downloadsamba-27359acf59cc7899e8de164f9311ef3b2b6db85a.tar.gz
samba-27359acf59cc7899e8de164f9311ef3b2b6db85a.tar.bz2
samba-27359acf59cc7899e8de164f9311ef3b2b6db85a.zip
docs: Remove reference to inetd startup, it is not recommended
Diffstat (limited to 'docs-xml/Samba3-HOWTO')
-rw-r--r--docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml77
1 files changed, 1 insertions, 76 deletions
diff --git a/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml b/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml
index ffedeb3d1d..ac866a8745 100644
--- a/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml
+++ b/docs-xml/Samba3-HOWTO/TOSHARG-Compiling.xml
@@ -267,82 +267,7 @@ gpg: BAD signature from <quote>Samba Distribution Verification Key</quote>
</para>
<sect2>
- <title>Starting from inetd.conf</title>
-
- <indexterm><primary>inetd</primary></indexterm>
-
- <note>
- <para>The following will be different if
- you use NIS, NIS+, or LDAP to distribute services maps.</para>
- </note>
-
- <para>Look at your <filename>/etc/services</filename>.
- What is defined at port 139/tcp? If nothing is defined,
- then add a line like this:</para>
-
- <para><programlisting>netbios-ssn 139/tcp</programlisting></para>
-
- <para>Similarly for 137/udp, you should have an entry like:</para>
-
- <para><programlisting>netbios-ns 137/udp</programlisting></para>
-
- <para>
- Next, edit your <filename>/etc/inetd.conf</filename> and add two lines like this:
-<programlisting>
-netbios-ssn stream tcp nowait root /usr/local/samba/sbin/smbd smbd
-netbios-ns dgram udp wait root /usr/local/samba/sbin/nmbd nmbd
-</programlisting>
- </para>
-
-<indexterm><primary>/etc/inetd.conf</primary></indexterm>
- <para>
- The exact syntax of <filename>/etc/inetd.conf</filename>
- varies between UNIXes. Look at the other entries in inetd.conf
- for a guide.
- </para>
-
- <para>
- <indexterm><primary>xinetd</primary></indexterm>
- Some distributions use xinetd instead of inetd. Consult the
- xinetd manual for configuration information.
- </para>
-
- <note><para>Some UNIXes already have entries like netbios_ns
- (note the underscore) in <filename>/etc/services</filename>.
- You must edit <filename>/etc/services</filename> or
- <filename>/etc/inetd.conf</filename> to make them consistent.
- </para></note>
-
- <note><para>
- <indexterm><primary>ifconfig</primary></indexterm>
- On many systems you may need to use the
- <smbconfoption name="interfaces"/> option in &smb.conf; to specify
- the IP address and netmask of your interfaces. Run
- <application>ifconfig</application> as root if you do
- not know what the broadcast is for your net. &nmbd; tries
- to determine it at runtime, but fails on some UNIXes.
- </para></note>
-
- <warning><para>
- Many UNIXes only accept around five parameters on the command
- line in <filename>inetd.conf</filename>. This means you shouldn't
- use spaces between the options and arguments, or you should use
- a script and start the script from <command>inetd</command>.
- </para></warning>
-
- <para>
- Restart <application>inetd</application>, perhaps just send it a HUP,
- like this:
-<indexterm><primary>killall</primary></indexterm>
-<screen>
-&rootprompt;<userinput>killall -HUP inetd</userinput>
-</screen>
- </para>
-
- </sect2>
-
- <sect2>
- <title>Alternative: Starting &smbd; as a Daemon</title>
+ <title>Starting &smbd; as a Daemon</title>
<para>
<indexterm><primary>daemon</primary></indexterm>