mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
r16671: allow usage of smbsrv_pull_passthru_sfileinfo() without,
a smbsrv_request given... the RENAME level is not supported in this mode, but that will be fixed later metze (This used to be commit 058c6397a4018975f62e8277b905a2566c3b2fe0)
This commit is contained in:
parent
826597bfa8
commit
4015b01088
@ -544,6 +544,13 @@ NTSTATUS smbsrv_pull_passthru_sfileinfo(TALLOC_CTX *mem_ctx,
|
||||
return NT_STATUS_OK;
|
||||
|
||||
case RAW_SFILEINFO_RENAME_INFORMATION:
|
||||
if (!req) {
|
||||
/*
|
||||
* TODO: get rid of smbsrv_request argument of
|
||||
* smbsrv_blob_pull_string()
|
||||
*/
|
||||
return NT_STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
BLOB_CHECK_MIN_SIZE(blob, 12);
|
||||
|
||||
st->rename_information.in.overwrite = CVAL(blob->data, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user