Bug 144 - Win ME Printing is completely broken
Win ME Printing is completely broken
Status: RESOLVED INVALID
Product: Samba 3.0
Classification: Unclassified
Component: Printing
3.0.0preX
All other
: P4 normal
: none
Assigned To: Gerald (Jerry) Carter
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2003-06-01 22:04 UTC by John H Terpstra
Modified: 2005-02-07 07:57 UTC (History)
0 users

See Also:


Attachments
Example of Error Dialog on attempt to print to \\frodo\raw (3.14 KB, image/png)
2003-06-01 22:05 UTC, John H Terpstra
no flags Details
Note Browsing for printers is broken (4.75 KB, image/png)
2003-06-01 22:06 UTC, John H Terpstra
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John H Terpstra 2003-06-01 22:04:03 UTC
No print queue is available in local printer, details, add port, browse.

Even with spoolss disabled and printing to a raw CUPS port, error bomb prevents
all printing. This is borked badly!

[2003/06/01 22:55:30, 3] smbd/ipc.c:reply_trans(512)
  trans <\PIPE\LANMAN> data=0 params=50 setup=0
[2003/06/01 22:55:30, 3] smbd/ipc.c:named_pipe(326)
  named pipe command on <LANMAN> name
[2003/06/01 22:55:30, 3] smbd/lanman.c:api_reply(3485)
  Got API command 70 of form <zWrLh> <B13BWWWzzzzzWN>
(tdscnt=0,tpscnt=50,mdrcnt=0,mprcnt=6)
[2003/06/01 22:55:30, 3] smbd/lanman.c:api_reply(3489)
  Doing DosPrintQGetInfo
[2003/06/01 22:55:30, 3] smbd/lanman.c:api_DosPrintQGetInfo(740)
  api_DosPrintQGetInfo uLevel=2 name=RAW
[2003/06/01 22:55:30, 3] printing/printing.c:print_cache_expired(1723)
  print cache expired for queue raw (last_qscan_time = 1054529719, time now =
1054529730, qcachetime = 10
)
[2003/06/01 22:55:30, 0] tdb/tdbutil.c:tdb_log(724)
  tdb(/var/lib/samba/printing/raw.tdb): rec_free_read bad magic 0xc at offset=22048
[2003/06/01 22:55:30, 3] printing/print_generic.c:print_run_command(83)
  Running the command `lpq -P'raw'' gave 0
[2003/06/01 22:55:30, 3] printing/printing.c:print_queue_update(1013)
  0 jobs in queue for raw
[2003/06/01 22:55:30, 3] smbd/lanman.c:api_TooSmall(3380)
  Supplied buffer too small in API command
[2003/06/01 22:55:32, 3] smbd/process.c:process_smb(882)
  Transaction 188 of length 39
Comment 1 John H Terpstra 2003-06-01 22:05:15 UTC
Created attachment 18 [details]
Example of Error Dialog on attempt to print to \\frodo\raw
Comment 2 John H Terpstra 2003-06-01 22:06:04 UTC
Created attachment 19 [details]
Note Browsing for printers is broken
Comment 3 Gerald (Jerry) Carter 2003-06-02 06:41:24 UTC
/var/lib/samba/printing/raw.tdb is corrupted.  Stop smbd; 
Remove the file; and try again.
Comment 4 John H Terpstra 2003-06-02 06:50:28 UTC
I should have mentioned that I had already tried removal of the printing/*.tdb
files.

This did not solve anything. The message follows deletion and re-try.
Comment 5 Gerald (Jerry) Carter 2003-06-03 14:42:34 UTC
works flawlessly for me here.  Using Samba_3_0 
cvs from 2003-06-03.  Can you mail me a full 
level 10 debug log privately?
Comment 6 Gerald (Jerry) Carter 2003-06-06 13:43:06 UTC
unconfirmed
Comment 7 John H Terpstra 2003-06-14 12:45:08 UTC
I deleted all my tdb files and printing files, set samba up again, now
everything works fine.

Bug report withdrawn - INVALID

Can not reproduce this problem now.
Comment 8 Gerald (Jerry) Carter 2005-02-07 07:57:32 UTC
originally reported against 3.0aph24.  Bugzilla spring cleaning.  
Removing old alpha versions.