summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-06-29 12:39:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:37 -0500
commit4015b0108831377404e7684a46bd709f3c6380b8 (patch)
treef951bd308c10b324bc72dc75a406dc31dcf85a86 /source4
parent826597bfa8313bcaf017cfb43e6f7535eb75e20f (diff)
downloadsamba-4015b0108831377404e7684a46bd709f3c6380b8.tar.gz
samba-4015b0108831377404e7684a46bd709f3c6380b8.tar.bz2
samba-4015b0108831377404e7684a46bd709f3c6380b8.zip
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)
Diffstat (limited to 'source4')
-rw-r--r--source4/smb_server/blob.c7
1 files changed, 7 insertions, 0 deletions
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);