Undocumented smb.conf
Gerald (Jerry) Carter
jerry at samba.org
Mon Aug 19 08:32:00 GMT 2002
On Mon, 19 Aug 2002, Thomas Reifferscheid wrote:
> There is an undocumented feature in Samba_2_2, too.
> rpc_server/srv_spoolss_nt.c, function static BOOL
> add_printer_hook(NT_PRINTER_INFO_LEVEL *printer),
> line 4880:
>
> /* Set the portname to what the script says the portname should be. */
>
> You could probably add some notes to "add printer command",
> that a custom addprinter-script
> should/can return the printer port, e.g. "Samba Printer Port".
This is documented. "addprinter command" "enumports command", etc...
cheers, jerry
---------------------------------------------------------------------
Hewlett-Packard http://www.hp.com
SAMBA Team http://www.samba.org
-- http://www.plainjoe.org
"Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2
--"I never saved anything for the swim back." Ethan Hawk in Gattaca--
More information about the samba-technical
mailing list