summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-04-27 14:59:45 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:45:49 -0500
commitc9acce43d5df8cb14893c110216c109a28f45245 (patch)
treeed712994aca9a5f29772002d5131a5a851b1c03d /docs
parent27df80520b4f5aeea5f06ef5cca752de5f731d56 (diff)
downloadsamba-c9acce43d5df8cb14893c110216c109a28f45245.tar.gz
samba-c9acce43d5df8cb14893c110216c109a28f45245.tar.bz2
samba-c9acce43d5df8cb14893c110216c109a28f45245.zip
Smbd can take a list of port numbers to listen on, instead of just one (bug #1145)
(This used to be commit 5d5e51eec285e88305582f103038f353effa58ca)
Diffstat (limited to 'docs')
-rw-r--r--docs/manpages/smbd.8.xml31
1 files changed, 9 insertions, 22 deletions
diff --git a/docs/manpages/smbd.8.xml b/docs/manpages/smbd.8.xml
index b7333e0a63..762dd764fc 100644
--- a/docs/manpages/smbd.8.xml
+++ b/docs/manpages/smbd.8.xml
@@ -28,7 +28,7 @@
<arg choice="opt">-b</arg>
<arg choice="opt">-d &lt;debug level&gt;</arg>
<arg choice="opt">-l &lt;log directory&gt;</arg>
- <arg choice="opt">-p &lt;port number&gt;</arg>
+ <arg choice="opt">-p &lt;port number(s)&gt;</arg>
<arg choice="opt">-O &lt;socket option&gt;</arg>
<arg choice="opt">-s &lt;configuration file&gt;</arg>
</cmdsynopsis>
@@ -136,28 +136,15 @@
</varlistentry>
<varlistentry>
- <term>-p &lt;port number&gt;</term>
- <listitem><para><replaceable>port number</replaceable> is a positive integer
- value. The default value if this parameter is not
- specified is 139.</para>
-
- <para>This number is the port number that will be
- used when making connections to the server from client
- software. The standard (well-known) port number for the
- SMB over TCP is 139, hence the default. If you wish to
- run the server as an ordinary user rather than
- as root, most systems will require you to use a port
- number greater than 1024 - ask your system administrator
- for help if you are in this situation.</para>
-
- <para>In order for the server to be useful by most
- clients, should you configure it on a port other
- than 139, you will require port redirection services
- on port 139, details of which are outlined in rfc1002.txt
- section 4.3.5.</para>
+ <term>-p &lt;port number(s)&gt;</term>
+ <listitem><para><replaceable>port number(s)</replaceable> is a
+ space or comma-seperated list of TCP ports smbd should listen on.
+ The default value is taken from the <smbconfoption><name>ports</name></smbconfoption> parameter in &smb.conf;</para>
+
+ <para>The default ports are 139 (used for SMB over NetBIOS over TCP)
+ and port 445 (used for plain SMB over TCP).
+ </para></listitem>
- <para>This parameter is not normally specified except
- in the above situation.</para></listitem>
</varlistentry>
</variablelist>
</refsect1>