[Samba] duplex settings [ was Re: parsing fix for spoolss & samba-2.2.5]

Glen Gibb grg at ridley.unimelb.edu.au
Wed Aug 28 02:01:01 GMT 2002


Hi Jerry,

There appears to be a few problems with the printing code in CVS (updated
15:42 Aug 28 GMT+10:00 - lists itself as Samba 2.2.6pre2) - SAMBA_2_2
branch.

The problem only surfaced on a WinXP machine (it seemed to work fine from
a Win2k machine) printing from Word. The problem did not occur printing
from Internet Explorer 6 on the same machine.

When attempting to print, Word would just hang, and the log file would
display a message about a non-SMB packet. A level 2 debug shows that a
printer handle could not be found (attached the debug).

I've dropped back to 2.2.5 with today's printer patches applied and
printing seems to be working ok from the offending WinXP box.

I'll keep you posted if any other problems pop up.

Glen Gibb

-------------- next part --------------
[2002/08/28 20:31:47, 1] lib/debug.c:debug_message(258)
  INFO: Debug class all level = 1   (pid 50211 from pid 50211)
[2002/08/28 20:31:47, 1] smbd/service.c:make_connection(640)
  office-k (192.168.1.123) connect to service Common as user grg (uid=1001, gid=2000) (pid 50211)
[2002/08/28 20:31:48, 1] smbd/service.c:make_connection(640)
  office-k (192.168.1.123) connect to service grg as user grg (uid=1001, gid=2000) (pid 50211)
[2002/08/28 20:31:48, 0] smbd/process.c:switch_message(662)
  Non-SMB packet of length 35. Terminating server
[2002/08/28 20:31:48, 1] smbd/service.c:close_cnum(681)
  office-k (192.168.1.123) closed connection to service grg
[2002/08/28 20:31:48, 1] smbd/service.c:close_cnum(681)
  office-k (192.168.1.123) closed connection to service Common
[2002/08/28 20:32:52, 1] lib/debug.c:debug_message(258)
  INFO: Debug class all level = 2   (pid 50284 from pid 50408)
[2002/08/28 20:32:53, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:47017:50284)
[2002/08/28 20:32:54, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:48675:50284)
[2002/08/28 20:32:56, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:50226:50284)
[2002/08/28 20:32:56, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:47193:50284)
[2002/08/28 20:32:57, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:47292:50284)
[2002/08/28 20:32:58, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:47017:50284)
[2002/08/28 20:32:59, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:48675:50284)
[2002/08/28 20:33:01, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:50226:50284)
[2002/08/28 20:33:01, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:47193:50284)
[2002/08/28 20:33:02, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:47292:50284)
[2002/08/28 20:33:03, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:47017:50284)
[2002/08/28 20:33:04, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:48675:50284)
[2002/08/28 20:33:06, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:50226:50284)
[2002/08/28 20:33:06, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:47193:50284)
[2002/08/28 20:33:07, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:47292:50284)
[2002/08/28 20:33:08, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:47017:50284)
[2002/08/28 20:33:09, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:48675:50284)
[2002/08/28 20:33:11, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:50226:50284)
[2002/08/28 20:33:11, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:47193:50284)
[2002/08/28 20:33:12, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:47292:50284)
[2002/08/28 20:33:13, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:47017:50284)
[2002/08/28 20:33:14, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:48675:50284)
[2002/08/28 20:33:16, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:50226:50284)
[2002/08/28 20:33:16, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:47193:50284)
[2002/08/28 20:33:17, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:47292:50284)
[2002/08/28 20:33:18, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:47017:50284)
[2002/08/28 20:33:19, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:48675:50284)
[2002/08/28 20:33:21, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:50226:50284)
[2002/08/28 20:33:21, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:47193:50284)
[2002/08/28 20:33:22, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263)
  find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:47292:50284)
[2002/08/28 20:33:23, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.1.123)
[2002/08/28 20:33:23, 0] smbd/process.c:switch_message(662)
  Non-SMB packet of length 35. Terminating server
[2002/08/28 20:33:23, 2] smbd/server.c:exit_server(461)
  Closing connections
[2002/08/28 20:33:23, 1] smbd/service.c:close_cnum(681)
  office-k (192.168.1.123) closed connection to service grg
[2002/08/28 20:33:23, 1] smbd/service.c:close_cnum(681)
  office-k (192.168.1.123) closed connection to service Common


More information about the samba mailing list