smbclient, SMBwrite vs SMBwriteX

Chris Dunlop chris at onthe.net.au
Wed Oct 29 01:00:06 GMT 2003


On Tue, Oct 28, 2003 at 01:08:36PM -0800, Richard Sharpe wrote:
> On Tue, 28 Oct 2003, Chris Dunlop wrote:
> >   $ smbclient //konica/print ' ' -c 'print -' < /tmp/tmp.ps
> >   Error writing file: ERRSRV - 22
> > 
> > Examining the network traffic revealed that the printer returns
> > the error when smbclient issues an SMBwriteX, and that the
> > MS-Windows printer driver (which works of course) was using
> > SMBwrite rather than SMBwriteX.
>
> What would be useful would be if you could get us a capture of
> a session with the printer when a small file is being sent.

Attached.

> The support should be in clireadwrite.c and you should not
> have to add a new switch.

That sounds like the better solution!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: konica.dmp
Type: application/octet-stream
Size: 5817 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20031029/8895742f/konica.obj


More information about the samba-technical mailing list