Windows spooler sends SMB blocks with non-sequential order.
tridge at osdl.org
Tue May 17 23:04:13 GMT 2005
> My guess is that early clients send -1 for this which is why
> we just ignored it. I'd need to check DOS clients to be sure
if you look at the interface for the original SMBsplwrite call:
/* SMBsplwrite interface */
enum smb_write_level level;
const uint8_t *data;
notice it doesn't take an offset? So I suspect our code was just
carried over from the earliest days when clients used SMBsplwrite
instead of SMBwrite or SMBwritex for print files. That would be the
earliest DOS clients I think. Certainly WfWg used normal write calls.
More information about the samba-technical