[Samba] Win7 SLOW printing

Ryan Suarez ryan.suarez at sheridanc.on.ca
Thu Nov 18 13:57:25 MST 2010


On 10-11-18 03:52 PM, Ryan Suarez wrote:
> On 10-11-16 01:44 PM, Jeremy Allison wrote:
>> On Tue, Nov 16, 2010 at 01:27:43PM -0500, Ryan Suarez wrote:
>>> Ok, it looks like this was the cause of the delay.  As soon as I
>>> disable windows firewall on this client, the errors disappear and
>>> jobs start printing immediately.  We have bring your own laptops
>>> (with their own image) here at the college.  I suspect this is the
>>> same cause of their delays.
>>>
>>> Could someone please shed some light what samba uses this connection 
>>> for?
>> This is the insane Windows print spooler design, where the server
>> connects back to the client to do change notify.
>>
>> Samba tries to do the same - look at spoolss_connect_to_client()
>> in rpc_server/srv_spoolss_nt.c - maybe we should have an option
>> to disable this.
>
> I can't seem to replicate this problem.  See attached screenshot.  
> I've enabled the windows firewall on a Win7 client that prints fine 
> and configured it to block all inbound connections.  However, this 
> client still prints immediately and I don't see any timeouts or access 
> denied errors on the print server.

Sorry, I guess the samba lists strips attachment.  Screenshot is here:
http://it.sheridanc.on.ca/support/firewall.png

> What do I need to do, to replicate the errors below when printing?
>
> -- 
> [2010/11/15 16:23:34,  1] lib/util_sock.c:open_socket_out(1424)
>   timeout connecting to 192.168.76.10:445
> [2010/11/15 16:23:42,  1] lib/util_sock.c:open_socket_out(1424)
>   timeout connecting to 192.168.76.10:139
> [2010/11/15 16:23:42,  1] libsmb/cliconnect.c:cli_start_connection(1657)
>   cli_start_connection: failed to connect to OA-C126-DGC<20> 
> (192.168.76.10). Error NT_STATUS_ACCESS_DENIED
> [2010/11/15 16:23:51,  1] lib/util_sock.c:open_socket_out(1424)
>   timeout connecting to 192.168.76.10:445
> [2010/11/15 16:24:00,  1] lib/util_sock.c:open_socket_out(1424)
>   timeout connecting to 192.168.76.10:139
> [2010/11/15 16:24:00,  1] libsmb/cliconnect.c:cli_start_connection(1657)
>   cli_start_connection: failed to connect to OA-C126-DGC<20> 
> (192.168.76.10). Error NT_STATUS_ACCESS_DENIED
> [2010/11/15 16:24:09,  1] lib/util_sock.c:open_socket_out(1424)
>   timeout connecting to 192.168.76.10:445



More information about the samba mailing list