addport command

Samba 3.0.23 introduced support for adding printer ports remotely using the Windows "Add Standard TCP/IP Port Wizard". This option defines an external program to be executed when smbd receives a request to add a new Port to the system. The script is passed two parameters:
port name device URI

The deviceURI is in the format of socket://[:] or lpd:///.

Example: /etc/samba/scripts/

Supported on: At least Microsoft Windows 7 or Windows Server 2008 family

addport command

Registry PathSoftware\Policies\Samba\smb_conf\addport command
Value Nameaddport command
Value TypeREG_SZ
Default Value


Administrative Templates (Computers)