Bug 7750 - not able to print on SMB printer
Summary: not able to print on SMB printer
Status: RESOLVED WORKSFORME
Alias: None
Product: Samba 3.5
Classification: Unclassified
Component: Printing (show other bugs)
Version: 3.5.4
Hardware: x86 Linux
: P3 major
Target Milestone: ---
Assignee: Guenther Deschner
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-24 09:02 UTC by marco
Modified: 2018-03-22 00:08 UTC (History)
1 user (show)

See Also:


Attachments
tcpdump (43.96 KB, application/vnd.ms-pki.seccat)
2010-10-25 07:06 UTC, marco
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description marco 2010-10-24 09:02:38 UTC
I'm getting this error message: "Error writing spool: Server packet had invalid SMB signature!" every time I try to print. 

Everything use to work fine up to yesterday when I updated my Ubuntu from 10.04 to 10.10. (2.6.35-22-generic)

samba version: 2:3.5.4~dfsg-1ubuntu8

thanks.
Marco
Comment 1 Volker Lendecke 2010-10-24 11:15:40 UTC
Can you please describe a bit more exactly what you are doing and what you see? Is your Ubuntu 10.10 the server, or is it the client printing to a Windows native printserver? If it is the server, what is the client operating system you are printing from?

Please provide a network trace of your problem. Information on how to create network traces that are useful to the Samba Team can be found under http://wiki.samba.org/index.php/Capture_Packets

Thanks,

Volker
Comment 2 marco 2010-10-24 15:53:54 UTC
I'm trying to print from a client with Ubuntu 10.10 to a Windows
native printserver.

I'm sorry, but I'm not sure what I'm suppose to do with this: http://wiki.samba.org/index.php/Capture_Packets. Which "FILENAME" should I use?

thanks. 

 (In reply to comment #1)
> Can you please describe a bit more exactly what you are doing and what you see?
> Is your Ubuntu 10.10 the server, or is it the client printing to a Windows
> native printserver? If it is the server, what is the client operating system
> you are printing from?
> 
> Please provide a network trace of your problem. Information on how to create
> network traces that are useful to the Samba Team can be found under
> http://wiki.samba.org/index.php/Capture_Packets
> 
> Thanks,
> 
> Volker
> 

Comment 3 Volker Lendecke 2010-10-24 16:30:05 UTC
Just invent a filename, for example /tmp/print.cap

The resulting /tmp/print.cap should be uploaded as an attachment to this bug.
Comment 4 marco 2010-10-24 16:48:21 UTC
well... all I get was this: 

tshark: There are no interfaces on which a capture can be done
tethereal: comando non trovato ("command not found")
tcpdump: no suitable device found
Comment 5 Volker Lendecke 2010-10-25 01:15:55 UTC
You need to become super-user via "su -" before starting tcpdump.
Comment 6 Volker Lendecke 2010-10-25 01:32:13 UTC
With Ubuntu this would be

sudo su -

instead of

su -

Sorry for that confusion.
Comment 7 marco 2010-10-25 07:06:23 UTC
Created attachment 6031 [details]
tcpdump 

:) thanks, 
ok, it's done, but...
Another question: 
    ... for how long should I leave it(tcpdump) running? 
    ...Should I run tshark as a super user too? 

I'm sorry about all the trouble I'm giving you!
Comment 8 Volker Lendecke 2010-10-25 08:27:06 UTC
How do you exactly print, how can I reproduce this issue?

Volker
Comment 9 marco 2010-10-25 08:37:10 UTC
well, I've installed the latest version of Ubuntu (10.10). Them reinstaled the printers (they use to work just fine with ubuntu 10.04) and now i just can't print anything, not even the printer test page. I always get the same "invalid
SMB signature" error message.
I can see the printers, I can explore the windows share folders but the printers just won't work with my fresh ubuntu install...  

Comment 10 Volker Lendecke 2010-10-25 08:43:43 UTC
Ok, I've never used the GUI of Ubuntu to print. Sorry, this will take a while until I upgrade to 10.10 to be able to try this.
Comment 11 marco 2010-10-27 13:40:33 UTC
is it possible to "downgrade" to the previous samba version? would it help? I really need to print...
Comment 12 marco 2010-10-29 08:35:04 UTC
I tried to print directly to the printer's IP and i had no problems, but i need to print via a windows server 2003 and a O&K print watch... and everything use to work fine with Ubuntu 10.04...   
Comment 13 marco 2010-11-14 02:20:10 UTC
Ok! downgrading to samba version 3.4.7 solves the problem! back to printing!  
Comment 14 Björn Jacke 2018-03-22 00:08:24 UTC
I'm not aware that this is an issue with current versions. Please reopen if this is still an issue with latest supported samba versions.