summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-05-17 09:52:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:04 -0500
commit5ff4b74df3f32192c9828233295d9f8fedcceb23 (patch)
treeda62feda7a25e882b41fb99c6a0949a08f44d0db /source4/smb_server
parentd86da81304bc247c77b78f1f1d9da562168285d7 (diff)
downloadsamba-5ff4b74df3f32192c9828233295d9f8fedcceb23.tar.gz
samba-5ff4b74df3f32192c9828233295d9f8fedcceb23.tar.bz2
samba-5ff4b74df3f32192c9828233295d9f8fedcceb23.zip
r15656: for NT IOCTL's we need to control the max_data field for some calls
metze (This used to be commit 3cab02f6f513cf7eb3d8863e62952766bb4d908f)
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/smb/nttrans.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/smb_server/smb/nttrans.c b/source4/smb_server/smb/nttrans.c
index 9154546693..0ac9c005c7 100644
--- a/source4/smb_server/smb/nttrans.c
+++ b/source4/smb_server/smb/nttrans.c
@@ -324,6 +324,7 @@ static NTSTATUS nttrans_ioctl(struct smbsrv_request *req,
nt->ntioctl.in.function = function;
nt->ntioctl.in.fsctl = fsctl;
nt->ntioctl.in.filter = filter;
+ nt->ntioctl.in.max_data = trans->in.max_data;
nt->ntioctl.in.blob = trans->in.data;
status = nttrans_setup_reply(op, trans, 0, 0, 1);