OS/2 client error

Jim McDonough/Boulder/IBM jmcd at us.ibm.com
Thu Nov 16 17:16:02 GMT 2000

I apologize if you receive this multiple times.  We've had some network
problems, and I don't believe the first copy got sent.

When you try to access a network print object on an OS/2 client, where the
printer is on a Samba server, you will receive two "SYS0234: More data is
available" errors.  The problem results because OS/2 does a
DosPrintQGetInfo call, with a zero length return buffer.  However, when the
same request is sent (also with a zero length buffer) to an NT or Win2k
system, they return a 2123 error (buffer too small - NERR_BufTooSmall in
the MSDN library).  OS/2 handles that error ok.  Seems like we might want
to do the same thing as NT/2k...

This patch takes care of my OS/2 client problem:
(See attached file: os2err.patch.220)


Jim McDonough
Infoprint Manager Development
Linux Technology Center
IBM Boulder

Notes: Jim McDonough/Boulder/IBM @ IBMUS
Internet: jmcd at us.ibm.com

Phone: (303) 924-5822
T/L: 263-5822
-------------- next part --------------
A non-text attachment was scrubbed...
Name: os2err.patch.220
Type: application/octet-stream
Size: 854 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20001116/909f6c2d/os2err.patch.obj

More information about the samba-technical mailing list