mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3:smbd: set req->smb2req->compat_chain_fsp in file_fsp()
metze
This commit is contained in:
parent
3dbfb25111
commit
163207a28e
@ -574,6 +574,9 @@ files_struct *file_fsp(struct smb_request *req, uint16 fid)
|
|||||||
fsp = file_fnum(req->sconn, fid);
|
fsp = file_fnum(req->sconn, fid);
|
||||||
if (fsp != NULL) {
|
if (fsp != NULL) {
|
||||||
req->chain_fsp = fsp;
|
req->chain_fsp = fsp;
|
||||||
|
if (req->smb2req != NULL) {
|
||||||
|
req->smb2req->compat_chain_fsp = fsp;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return fsp;
|
return fsp;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user