Bug 12752 - Copy chunk fails if source and destination file are not on the same share
Copy chunk fails if source and destination file are not on the same share
Status: RESOLVED FIXED
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services
unspecified
All All
: P5 normal
: ---
Assigned To: Ralph Böhme
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-04-21 08:18 UTC by Ralph Böhme
Modified: 2017-07-04 20:06 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Böhme 2017-04-21 08:18:45 UTC
We have a check in file_fsp_get() that causes this:

        if (smb2req->tcon->compat != fsp->conn) {
                return NULL;
        }

Windows allows such copy-chunk request, so we have to relax the above constraint, at least for fsctl_srv_copychunk_send().
Comment 1 Stefan Metzmacher 2017-07-04 20:06:04 UTC
Fixed with 492930779a228d3fddfc584141dace393c7f5ebb in 4.7.0rc1 and master