Samba 3.0 and HP 4300 print drivers

Joe Meslovich joe at bridgewater.edu
Tue May 27 15:30:17 GMT 2003


I had sent a message last week stating that I was having trouble with the
hp 4300 drivers with my Samba server. Initially I was running 2.2.8a on my
printer server. Well to ensure that it wasn't a 2.2.x problem I upgraded
to 3.0 via a CVS download from May 22nd. Well the problem continued. It
seems as though the driver is going into a loop making a request to the
server. Below is the request the client:

* 00 30 85 BB | 27 FF 00 B0 | D0 71 5D E0 | 08 00 45 00 [.0..'....q]...E.]
* 00 AD 99 3E | 40 00 80 06 | 00 00 93 8A | 14 0A 93 8A [...>@...........]
* 0A 3C 08 97 | 01 BD 34 00 | 62 5F 78 CA | 07 BE 50 18 [.<....4.b_x...P.]
* F9 82 45 FA | 00 00 00 00 | 00 81 FF 53 | 4D 42 25 00 [..E........SMB%.]
* 00 00 00 18 | 07 D8 00 00 | 00 00 00 00 | 00 00 00 00 [................]
* 00 00 01 00 | B0 01 64 00 | 06 F1 0E 25 | 00 00 00 06 [......d....%....]
* 00 00 04 00 | 00 00 00 88 | 13 00 00 00 | 00 25 00 5C [.............%.\]
* 00 00 00 00 | 00 00 00 42 | 00 00 5C 00 | 50 00 49 00 [.......B..\.P.I.]
* 50 00 45 00 | 5C 00 4C 00 | 41 00 4E 00 | 4D 00 41 00 [P.E.\.L.A.N.M.A.]
* 4E 00 00 00 | 00 00 46 00 | 7A 57 72 4C | 68 00 7A 57 [N.....F.zWrLh.zW]
* 57 57 57 7A | 7A 7A 7A 57 | 57 7A 7A 6C | 00 77 72 69 [WWWzzzzWWzzl.wri]
* 74 69 6E 67 | 68 70 00 03 | 00 00 04    |             [tinghp.....]


then the response from the server:

* 00 B0 D0 71 | 5D E0 00 30 | 85 BB 27 FF | 08 00 45 00 [...q]..0..'...E.]
* 00 DF 26 5D | 40 00 FE 06 | 10 61 93 8A | 0A 3C 93 8A [..&]@....a...<..]
* 14 0A 01 BD | 08 97 78 CA | 07 BE 34 00 | 62 E4 50 18 [......x...4.b.P.]
* 22 38 1D 80 | 00 00 00 00 | 00 B3 FF 53 | 4D 42 25 00 ["8.........SMB%.]
* 00 00 00 88 | 01 C8 00 00 | 00 00 00 00 | 00 00 00 00 [................]
* 00 00 01 00 | B0 01 64 00 | 06 F1 0A 06 | 00 73 00 00 [......d......s..]
* 00 06 00 38 | 00 00 00 73 | 00 40 00 00 | 00 00 00 7C [...8...s. at .....|]
* 00 00 00 00 | 00 00 73 00 | 00 00 2C 00 | 00 00 05 00 [......s...,.....]
* 00 00 00 00 | 05 00 36 00 | 00 00 37 00 | 00 00 00 00 [......6...7.....]
* 00 00 00 00 | 00 00 00 00 | 00 00 40 00 | 00 00 4A 00 [.......... at ...J.]
* 00 00 4B 00 | 00 00 77 72 | 69 74 69 6E | 67 68 70 00 [..K...writinghp.]
* 00 57 69 6E | 50 72 69 6E | 74 00 77 72 | 69 74 69 6E [.WinPrint.writin]
* 67 68 70 00 | 00 28 00 00 | 00 E8 03 00 | 00 4E 55 4C [ghp..(.......NUL]
* 4C 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00 00 00 00 [L...............]
* 00 00 00 00 | 00 00 00 00 | 00 00 00 00 | 00          [.............]

And that happens over and over again.  I have a capture I took on the
client using winpcap and analyzer. The capture is available on the web at
http://www.bridgewater.edu/~joe/capture4300.txt (this is a 12 MB file
though) The looping seems to start at packet 208 and continues till I kill
it at packet 3821. The real time between those packets was 10 seconds more
or less. So the client made on the order of 1800 requests in that 10
second time period. The server a Sun Ultra 5 was brought to its knees
practically. This only appears to happen with the 4300 driver. The driver
version used was DriverVer=08/09/2002,60.3.14.2

I will pursue whether there is an updated driver for that model.


Joe Meslovich


----------------------------------------------------------------------------
Joe Meslovich						joe at bridgewater.edu
Associate Network/Systems Engineer	                IT Center
Tel: (540) 828 - 5343




More information about the samba-technical mailing list