1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +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 058c6397a4)
This commit is contained in:
Stefan Metzmacher 2006-06-29 12:39:41 +00:00 committed by Gerald (Jerry) Carter
parent 826597bfa8
commit 4015b01088

View File

@ -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);