From 4015b0108831377404e7684a46bd709f3c6380b8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 29 Jun 2006 12:39:41 +0000 Subject: 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) --- source4/smb_server/blob.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source4/smb_server/blob.c') diff --git a/source4/smb_server/blob.c b/source4/smb_server/blob.c index 19d29edd84..4cf484f6a0 100644 --- a/source4/smb_server/blob.c +++ b/source4/smb_server/blob.c @@ -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); -- cgit