Opened 16 years ago
Closed 16 years ago
#64 closed defect (worksforme)
Files with EAs greater than 50KB cannot be written to server share
Reported by: | Yuri Dario | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | Netdrive plugin 1.5 beta 1 |
Component: | Samba Client Plugin | Version: | NDP 1.5 alpha |
Keywords: | Cc: |
Description
If a file has more than 50KB in extended attributes, it cannot be written to server share.
Preliminary tests shows that smbd is rejecting the SMB packet:
[2008/08/20 19:05:53, 3] smbd/error.c:error_packet_set(106) error packet at smbd/trans2.c(6788) cmd=51 (SMBtranss2) NT_STATUS_INVALID_PARAMETER
It is not clear if this is a server side fault or a bad packet assembled in the client library.
Also it is not clear if a single big EA is required to trigger the bug or it depends on size of all EA of the file.
A simple way to replicate this is to use PMView to create a 200x200 or 224x224 thumbnail on a image, then copy the file to the server.
Since this crashes also ndctl.exe when using plugin 1.5, it means there is something broken on client side for sure.
Change History (2)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Extensive tests with plugin codelevel of http://svn.netlabs.org/samba/changeset/189 prove that this problem is not present anymore.
Multiple PMView preview symbols with sizes of 224x224 resulting in EA sizes of 64097 bytes could be written to Samba shares without problems.
However, it also was discovered that writing preview symbols of sizes bigger than 40x40 (resulting EA sizes approximately 3,5 KB) could not be written to an IBM Peer share.
There are curently no plans to address this issue.
testing scenario: attach client to a wseb share and see if it fails. if it works this way it's a server bug. if it also crashes it's a client bug.