[Samba] Re: Samba Printing Extremely Slow from Windows XP

Cabbar Duzayak cabbar at gmail.com
Mon Sep 5 08:44:38 GMT 2005


One clarification for the log:

192.168.0.3 is the IP address of the Windows XP client that is trying
to connect to the samba server on linux. And, MYMACHINENAME is the
hostname of that same Windows XP machine. And, this log is from
MYMACHINENAME.log file, which is in samba log dir.

Once again, any help is appreciated.
TIA...

On 9/5/05, Cabbar Duzayak <cabbar at gmail.com> wrote:
> Hi,
> 
> I have setup samba server on my linux box (Fedora Core 4 with latest
> samba, just updated via RHN) and has configured file sharing via samba
> for this server and connecting to it from my windows xp box. So far,
> everything works fine and it is very fast.
> 
> Then, I configured a printer, and shared it via samba. And, I can
> see+connect to it from Windows XP and can even print. But, everything
> related to printing is extreemeeely slow on Windows XP, i.e. open
> notepad -> File Menu->Print, and at that point notepad just freezes
> for couple of minutes, and then brings the printer dialog... Send a
> print out, it just freezes for a while, then prints out fine.
> 
> Below is the log file I am getting from Samba, and for some reason it
> tries to connect to the samba server on Windows XP??? Have no idea
> what this means, and how I can fix this. Can you please provide any
> suggestions?
> 
> Thanks a ton in advance...
> 
> Log from samba:
> 
> [2005/09/05 00:37:12, 1] lib/util_sock.c:open_socket_out(774)
>   timeout connecting to 192.168.0.3:445
> [2005/09/05 00:37:29, 1] lib/util_sock.c:open_socket_out(774)
>   timeout connecting to 192.168.0.3:139
> [2005/09/05 00:37:29, 1] libsmb/cliconnect.c:cli_connect(1330)
>   Error connecting to 192.168.0.3 (Operation already in progress)
> [2005/09/05 00:37:29, 0]
> rpc_server/srv_spoolss_nt.c:spoolss_connect_to_client(2 606)
>   spoolss_connect_to_client: unable to connect to SMB server on
> machine MYMACHINENAME.  Error was : SUCCESS - 0.
> [2005/09/05 00:37:47, 1] lib/util_sock.c:open_socket_out(774)
>   timeout connecting to 192.168.0.3:445
> [2005/09/05 00:38:04, 1] lib/util_sock.c:open_socket_out(774)
>   timeout connecting to 192.168.0.3:139
> [2005/09/05 00:38:04, 1] libsmb/cliconnect.c:cli_connect(1330)
>   Error connecting to 192.168.0.3 (Operation already in progress)
> [2005/09/05 00:38:04, 0]
> rpc_server/srv_spoolss_nt.c:spoolss_connect_to_client(2 606)
>   spoolss_connect_to_client: unable to connect to SMB server on
> machine MYMACHINENAME.  Error was : SUCCESS - 0.
> [2005/09/05 00:38:30, 1] lib/util_sock.c:open_socket_out(774)
>   timeout connecting to 192.168.0.3:445
> [2005/09/05 00:38:48, 1] lib/util_sock.c:open_socket_out(774)
>   timeout connecting to 192.168.0.3:139
> [2005/09/05 00:38:48, 1] libsmb/cliconnect.c:cli_connect(1330)
>   Error connecting to 192.168.0.3 (Operation already in progress)
> [2005/09/05 00:38:48, 0]
> rpc_server/srv_spoolss_nt.c:spoolss_connect_to_client(2606)
>   spoolss_connect_to_client: unable to connect to SMB server on
> machine MYMACHINENAME. Error was : SUCCESS - 0.
> [2005/09/05 00:39:05, 1] lib/util_sock.c:open_socket_out(774)
>   timeout connecting to 192.168.0.3:445
> [2005/09/05 00:39:23, 1] lib/util_sock.c:open_socket_out(774)
>   timeout connecting to 192.168.0.3:139
> [2005/09/05 00:39:23, 1] libsmb/cliconnect.c:cli_connect(1330)
>   Error connecting to 192.168.0.3 (Operation already in progress)
> [2005/09/05 00:39:23, 0]
> rpc_server/srv_spoolss_nt.c:spoolss_connect_to_client(2606)
>   spoolss_connect_to_client: unable to connect to SMB server on
> machine MYMACHINENAME. Error was : SUCCESS - 0.
>


More information about the samba mailing list