diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-05-14 18:02:49 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:52:26 -0500 |
commit | bf62b6642c77e14142cdb724dc99dd3f8bfd89ac (patch) | |
tree | 2b17ad07f9b77bb5ec7d4397b8306e02938095ba /source4/smb_server/smb2/fileio.c | |
parent | 37f8c04d900df00dd984dfd6be33b367b145a3ac (diff) | |
download | samba-bf62b6642c77e14142cdb724dc99dd3f8bfd89ac.tar.gz samba-bf62b6642c77e14142cdb724dc99dd3f8bfd89ac.tar.bz2 samba-bf62b6642c77e14142cdb724dc99dd3f8bfd89ac.zip |
r22866: handle incoming chained smb2 requests in our server code to let
the windows explorer in longhorn beta3 work.
metze
(This used to be commit 2390c9f24daccec917608cac0870890cdc73cb1c)
Diffstat (limited to 'source4/smb_server/smb2/fileio.c')
-rw-r--r-- | source4/smb_server/smb2/fileio.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/smb_server/smb2/fileio.c b/source4/smb_server/smb2/fileio.c index 8e420458be..e399bfb901 100644 --- a/source4/smb_server/smb2/fileio.c +++ b/source4/smb_server/smb2/fileio.c @@ -44,9 +44,13 @@ static void smb2srv_create_send(struct ntvfs_request *ntvfs) SBVAL(req->out.body, 0x30, io->smb2.out.size); SIVAL(req->out.body, 0x38, io->smb2.out.file_attr); SIVAL(req->out.body, 0x3C, io->smb2.out._pad); - smb2srv_push_handle(req->out.body, 0x40,io->smb2.out.file.ntvfs); + smb2srv_push_handle(req->out.body, 0x40, io->smb2.out.file.ntvfs); SMB2SRV_CHECK(smb2_push_o32s32_blob(&req->out, 0x50, io->smb2.out.blob)); + /* also setup the chained file handle */ + req->chained_file_handle = req->_chained_file_handle; + smb2srv_push_handle(req->chained_file_handle, 0, io->smb2.out.file.ntvfs); + smb2srv_send_reply(req); } |