Windows spooler sends SMB blocks with non-sequential order.

Jeremy Allison jra at
Tue May 17 17:15:31 GMT 2005

On Mon, May 16, 2005 at 10:23:38PM -0700, Arcady Chernyak wrote:
> I have found that when Windows spooler sends print file to SAMBA it may send
> packets with non-sequential order but with correct offsets.
> See bellow some output from Ethereal.
> Samba supports non-sequential SMB offset for file shares well, but doesn't
> support it at all for the SMB printing.
> I guess that this is the critical bug because sometimes Windows sends print
> file in "out of order" SMB blocks.
> The problem is difficult to reproduce because it is intermittent and happens
> rarely. 
> I used fast XP-SP2 machine over 1 GHz Ethernet switch to increase
> reproducibility.
> For 100 GHz network it happens once in 10 file transfers.
> You should use big files (I used 500 MB file) and calculate MD5 sum to check
> file integrity. (Blocks' swapping doesn't affect file checksums)
> What's your opinion?
> Do you need more info?

Can you send me the raw (ie. full packet data) of this set of 
requests ? Once I can see this packet trace I can fix it. I'll
need the spool open requests as well. Thanks,


More information about the samba-technical mailing list