1 <samba:parameter name="addport command"
4 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
6 <para>Samba 3.0.23 introduced support for adding printer ports
7 remotely using the Windows "Add Standard TCP/IP Port Wizard".
8 This option defines an external program to be executed when
9 smbd receives a request to add a new Port to the system.
10 The script is passed two parameters:</para>
13 <listitem><para><parameter moreinfo="none">port name</parameter></para></listitem>
14 <listitem><para><parameter moreinfo="none">device URI</parameter></para></listitem>
17 <para>The deviceURI is in the format of socket://<hostname>[:<portnumber>]
18 or lpd://<hostname>/<queuename>.</para>
21 <related>enum ports command</related>
23 <value type="default"></value>
24 <value type="example">/etc/samba/scripts/addport.sh</value>