[Samba] samba and cups printing.
L.P.H. van Belle
belle at bazuin.nl
Tue Apr 8 00:46:16 MDT 2014
Hai,
Im working on the print server, samba cups, and so fare, looks ok.
but im seeing messages like.
[2014/04/08 08:39:29.804575, 0] ../source3/rpc_server/rpc_ep_register.c:136(rpc_ep_register_loop)
Failed to register endpoint 'spoolss'!
[2014/04/07 16:52:12.100752, 0] ../source3/printing/nt_printing_ads.c:116(nt_printer_guid_get)
Failed to get GUID for printer MyTestPrinter
[2014/04/07 16:52:12.101056, 0] ../source3/rpc_server/spoolss/srv_spoolss_nt.c:4847(_spoolss_GetPrinter)
_spoolss_GetPrinter: failed to construct printer info level 7 - WERR_BADFILE
[2014/04/07 16:46:17.540795, 0] ../source3/rpc_server/spoolss/srv_spoolss_nt.c:8302(_spoolss_AddPrinterDriverEx)
_spoolss_AddPrinterDriverEx: level 8 not yet implemented
im use-ing samba with the following settings: ( basic member settings with )
load printers = yes
rpc_server:spoolss = external
rpc_daemon:spoolssd = fork
spoolssd:prefork_min_children = 15 # Minimum number of child processes
spoolssd:prefork_max_children = 75 # Maximum number of child processes
spoolssd:prefork_spawn_rate = 25 # Start (fork) x new childs if one connection comes in (up to prefork_max_children)
spoolssd:prefork_max_allowed_clients = 200 # Number of clients, a child process should be responsible for
spoolssd:prefork_child_min_life = 60 # Minimum lifetime of a child process (60 seconds is the minimum, even a lower value has been configured )
I did setup the printer operator privileges. (https://wiki.samba.org/index.php/Samba_as_a_print_server#Granting_print_operator_privileges)
( thanks Rowland and Stephane, for there help, now it works great. )
I did setup the shares https://wiki.samba.org/index.php/Setup_and_configure_file_shares#Change_permissions_on_folder_of_a_share
I do need to setup the trusts https://wiki.samba.org/index.php/Samba_as_a_print_server#Setting_up_a_GPO_for_trusting_printer_drivers
How mature is this new spoolssd?
since im reading here : http://wiki.samba.org/index.php/Samba_as_a_print_server
Note: Some features of spoolssd were broken before 4.0.17 and 4.1.7. That's why it is recommended to use at least this versions!
4.1.7 ? does the next release has good fixed for spoolssd ?
and how is the experiance at others with samba and cups printing, with the new spoolssd.
any tips or advices is apreciated.
Thanks,
Louis
More information about the samba
mailing list