Ramon Casares wrote: > In article <[EMAIL PROTECTED]>, Till Kamppeter <[EMAIL PROTECTED]> > writes: > >>I have now checked the 25-MB tarball which I have copied to the card and >>it was corrupted. I also verified with a USB card reader and this way I >>found out that the problem happened when the file was written onto the >>card via smbclient. Perhaps you should report another bug to Samba. > > > Ups! You are right. > > $ cmp eco.pdf Downloads/eco.pdf > eco.pdf Downloads/eco.pdf differ: byte 8209, line 76 > $ cmp TETEXDOC.pdf Downloads/TETEXDOC.pdf > TETEXDOC.pdf Downloads/TETEXDOC.pdf differ: byte 8209, line 50 > > So the first error is always in byte 8209 (?). Then I tried a 8136 bytes long > file, and no errors were found. My patch only works with files under 8k. I > have > to investigate this, but for the moment I did a: > > $ grep -r "cli_smbwrite(" source > > The result means that Samba only uses function "cli_smbwrite", which is > the one that sends "Write" operations instead of "Write and X", in: > > source/include/proto.h: the header file > source/libsmb/clireadwrite.c: where the function is defined > source/torture/torture.c: where it is tested > > So, it is defined, declared, and tested, but not used! Perhaps it is just a > relic of ancient times and not really mantained. > > >>I would also consider a Samba bug that the device is not accessible via >>its IP address but only by this cryptic "hp<mac address>" server name. >>"Normal" SMB servers can be also reached by their IP addresses. > > > It seems to me that HP has implemented only a partial SMB server in the > printer. This works with a specialy tunned SMB client that HP provides within > its software. But it will not be possibly a good idea to try to cope from the > Samba client with such a peculiar SMB server. > > Do you know where can I find a technical description of this printer? > > Ramon
I think, we should talk with the HPLIP team. I am CCing them now. Till ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ HPLIP-Devel mailing list HPLIP-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hplip-devel