[Samba] Printing problem with CUPS / Samba

Nishant Sharma nishant at deeproot.co.in
Wed May 19 12:05:58 GMT 2004


Hello everyone!

We're using samba-3.0.2rc2 with OpenLDAP-2.1.27,
cupsys-1.1.20final-cvs200403 and a Samsung printer. Printing was working
fine but yesterday all of a sudden it stopped working.

The error message on the windows machine was: 

"A StartDocPrinter call was not issued".


On viewing samba logs for the machine, we got following error:

  tdb(/var/lib/samba/printing/Samsung.tdb): rec_free_read bad magic
0x42424242 at offset=63736
  tdb(/var/lib/samba/printing/Samsung.tdb): rec_read bad magic
0xd9fee666 at offset=58844
  tdb(/var/lib/samba/printing/Samsung.tdb): rec_read bad magic
0xd9fee666 at offset=58844
  tdb(/var/lib/samba/printing/Samsung.tdb): rec_free_read bad magic
0x42424242 at offset=63736

We had a thought that Samsung.tdb file might have got corrupted, so we
removed it and restarted smbd. The file was recreated and printing
started fine.

Could anyone please point out what was the main problem? We just did a
trial and error process and got through. Any sort of help is welcome.
Thanks in advance.

regards,
Nishant
-- 
Nishant Sharma <nishant at deeproot.co.in> 
Support - Enterprise Server Systems 
DeepRoot Linux, Bangalore
India. Ph: +91-80-28565624 

-- 
Why did the Roman Empire collapse? What is the Latin for office
automation? 




More information about the samba mailing list