docs:smbdotconf: remove swat-specific flags.
[Samba.git] / docs-xml / smbdotconf / printing / enumportscommand.xml
blob17880c6a485aab7f23c97b4969aaf00681736525
1 <samba:parameter name="enumports command"
2                  context="G"
3                                  type="string"
4                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
5 <description>
6     <para>The concept of a &quot;port&quot; 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>&quot;Samba Printer Port&quot;</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>&quot;Samba Printer Port&quot;</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>
20 </description>
22 <value type="default"></value>
23 <value type="example">/usr/bin/listports</value>
24 </samba:parameter>