s3: Fix bug 6606
commit616ca7544875b1c312397b8391a6ff5ceeacb806
authorVolker Lendecke <vl@samba.org>
Sat, 10 Oct 2009 09:15:42 +0000 (10 11:15 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 20 Oct 2009 13:00:30 +0000 (20 15:00 +0200)
tree8fb553ed6c03f2309d102858aa6620f3ae778cae
parent40156d9470ea7974d9c50f620fad516f10376d98
s3: Fix bug 6606

This is a port of 1f34ffa0caae5 and 24309bdb2efc to 3.4.

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