Discussion:
smbclient didn´t get entire file size
Jeff Layton
2014-04-10 10:32:09 UTC
Permalink
On Thu, 10 Apr 2014 11:34:30 +0200
Hi Jeff,
yeah i did so but unfortunately the patch won=B4t work in the Debian =
kernel.
=20
=20
<make[2]:Leaving directory `/usr/local/src/linux-3.13.7/linux-3.2.54'
make[1]: Leaving directory `/usr/local/src/linux-3.13.7/linux-3.2.54'
Importiere Patch=20
/tmp/0001-cifs-stop-trying-to-use-virtual-circuits.patch (abgelegt al=
s=20
test/0001-cifs-stop-trying-to-use-virtual-circuits.patch)
Wende Patch test/0001-cifs-stop-trying-to-use-virtual-circuits.patch =
an
patching file fs/cifs/cifsglob.h
Hunk #1 FAILED at 715.
1 out of 1 hunk FAILED -- rejects in file fs/cifs/cifsglob.h
patching file fs/cifs/sess.c
Patch test/0001-cifs-stop-trying-to-use-virtual-circuits.patch l=E4ss=
t=20
sich nicht anwenden (erzwingen mit -f)
=20
Im not capable of fixing this by myself and i would have to deal with=
=20
that problem every time again with a new kernel.
=20
That=B4s not very practicable don=B4t you think?
=20
You don=B4t see any chance to fix this issue in samba itself??
=20
=20
(cc'ing samba-technical and linux-cifs)

It shouldn't be too hard to backport, but you do need to know what
you're doing. You could also ask the Debian maintainers to include the
patch. If they need help with backporting it, I'd be willing to do so.


As far as fixing the server...if the server in your case is samba, you
can set "reset on zero vc" to "no" and that should prevent this
behavior. Otherwise, you're out of luck and you'll need to fix the
clients.

--=20
Jeff Layton <jlayton-***@public.gmane.org>

Loading...