s3:smbclient: Fix bug 6606 (reported as 6744) in 3.3
commit2b40f75d70b94a1213e5cd78996171b428b35b56
authorVolker Lendecke <vl@samba.org>
Fri, 18 Sep 2009 17:45:36 +0000 (18 19:45 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 12 Oct 2009 09:47:27 +0000 (12 11:47 +0200)
treefb8b4d86f1c96efe1d901a82c5257d57efaee06a
parent7f17f286d3a4a0b864fa771f945a8fc02e45ae4d
s3:smbclient: Fix bug 6606 (reported as 6744) in 3.3

This is a port of 1f34ffa0ca and 24309bdb2efc to 3.3.

Fix file corruption using smbclient with NT4 server.
(cherry picked from commit b0fdc578fb10062c36ce2df18ab37cab57a89692)
source/libsmb/clireadwrite.c