:445 (connection refused)

Paul Sanders sanders_p at univerahealthcare.com
Tue Nov 27 11:36:03 GMT 2001


Howdy!

the setup:
RH-VALE 6.2.4 running samba2.2.2 cvs from 11/24/2001...
user running NT 4.0 SP6a

the problem:
I have a user that cannot print  - She can add the printer but can't print. 
log for that machine shows the following:

...
normal looking connections to obtain drivers - all look OK - no complaints..
..

then this - 

libsmb/namequery.c:name_query(415)
  Got a positive name query response from 10.1.1.111 ( 10.8.40.97 )
lib/util_sock.c:open_socket_out(898)
  error connecting to 10.8.40.97:445 (Connection refused)
libsmb/namequery.c:name_query(415)
  Got a positive name query response from 10.1.1.111 ( 10.8.40.97 )
lib/util_sock.c:open_socket_out(898)
  error connecting to 10.8.40.97:445 (Connection refused)
smbd/service.c:close_cnum(659)
  bd004580 (10.8.40.97) closed connection to service print$
libsmb/namequery.c:name_query(415)
  Got a positive name query response from 10.1.1.111 ( 10.8.40.97 )
lib/util_sock.c:open_socket_out(898)
  error connecting to 10.8.40.97:445 (Connection refused)
smbd/process.c:timeout_processing(1138)
  Closing idle connection 2.
smbd/server.c:exit_server(456)
  Closing connections
libsmb/namequery.c:name_query(415)
  Got a positive name query response from 10.1.1.111 ( 10.1.1.90 10.1.1.90 )
libsmb/namequery.c:name_query(415)
  Got a positive name query response from 10.1.1.111 ( 10.1.1.90 )
lib/util_sock.c:open_socket_out(898)
  error connecting to 10.1.1.90:445 (Connection refused)
rpc_server/srv_spoolss_nt.c:close_printer_handle(254)
  close_printer_handle: Invalid handle (OTHER)
rpc_server/srv_spoolss_nt.c:close_printer_handle(254)
  close_printer_handle: Invalid handle (OTHER)
smbd/process.c:timeout_processing(1138)
  Closing idle connection 2.
smbd/server.c:exit_server(456)
  Closing connections
libsmb/namequery.c:name_query(415)
  Got a positive name query response from 10.1.1.111 ( 10.1.1.90 10.1.1.90 )
libsmb/namequery.c:name_query(415)
  Got a positive name query response from 10.1.1.111 ( 10.1.1.90 )
lib/util_sock.c:open_socket_out(898)
  error connecting to 10.1.1.90:445 (Connection refused)
libsmb/namequery.c:name_query(415)
  Got a positive name query response from 10.1.1.111 ( 10.8.40.97 )
lib/util_sock.c:open_socket_out(898)
  error connecting to 10.8.40.97:445 (Connection refused)
smbd/process.c:timeout_processing(1138)
  Closing idle connection 2.
smbd/server.c:exit_server(456)
  Closing connections
libsmb/namequery.c:name_query(415)
  Got a positive name query response from 10.1.1.111 ( 10.1.1.90 10.1.1.90 )
libsmb/namequery.c:name_query(415)
  Got a positive name query response from 10.1.1.111 ( 10.1.1.90 )
lib/util_sock.c:open_socket_out(898)
  error connecting to 10.1.1.90:445 (Connection refused)
libsmb/namequery.c:name_query(415)
  Got a positive name query response from 10.1.1.111 ( 10.8.40.97 )
lib/util_sock.c:open_socket_out(898)
  error connecting to 10.8.40.97:445 (Connection refused)
libsmb/namequery.c:name_query(415)
  Got a positive name query response from 10.1.1.111 ( 10.8.40.97 )
lib/util_sock.c:open_socket_out(898)
  error connecting to 10.8.40.97:445 (Connection refused)
rpc_server/srv_spoolss_nt.c:close_printer_handle(254)
  close_printer_handle: Invalid handle (OTHER)
rpc_server/srv_spoolss_nt.c:close_printer_handle(254)
  close_printer_handle: Invalid handle (OTHER)
smbd/process.c:timeout_processing(1138)
  Closing idle connection 2.
smbd/server.c:exit_server(456)
  Closing connections

My question is this:  What would cause the PC to refuse connection from the
server on port 445 [I brief search shows a few posts elswhere indicating that
this port is used by win2k - is this correct?] and what should one do to correct
this issue (this is an NT wkstn)?

The printer itself is fine - other PCs print to it just fine [even from the
same application].
Would the port be blocked if a manditory profile has been assigned to the
user?

Any help would be GREATLY appreciated.

Paul Sanders






More information about the samba mailing list