1 <samba:parameter name="enumports command"
4 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
6 <para>The concept of a "port" is fairly foreign
7 to UNIX hosts. Under Windows NT/2000 print servers, a port
8 is associated with a port monitor and generally takes the form of
9 a local port (i.e. LPT1:, COM1:, FILE:) or a remote port
10 (i.e. LPD Port Monitor, etc...). By default, Samba has only one
11 port defined--<constant>"Samba Printer Port"</constant>. Under
12 Windows NT/2000, all printers must have a valid port name.
13 If you wish to have a list of ports displayed (<command moreinfo="none">smbd
14 </command> does not use a port name for anything) other than
15 the default <constant>"Samba Printer Port"</constant>, you
16 can define <parameter moreinfo="none">enumports command</parameter> to point to
17 a program which should generate a list of ports, one per line,
18 to standard output. This listing will then be used in response
19 to the level 1 and 2 EnumPorts() RPC.</para>
22 <value type="default"></value>
23 <value type="example">/usr/bin/listports</value>