Paul Sanders wrote:>
> 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)?
Windows NT does not answer on this port, it is a Win2k creation. By
default Samba will ask first on 445, then ask on 139 as a fallback. The
error is therefore 'normal'
> 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?
NO. Profiles don't affect these things, even on a Win2k box
Andrew Bartlett
--
Andrew Bartlett abartlet@pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet@samba.org
Student Network Administrator, Hawker College abartlet@hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net