summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-15 18:53:23 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-15 20:03:01 +1100
commitdab799e5695dc2de9895f2adb8ed50d672a39f40 (patch)
tree91525351943dce681aa38240c9f92fd47561845c /source4/smb_server
parent4a4f420481cae5ba82a42d6763d3732defccac24 (diff)
downloadsamba-dab799e5695dc2de9895f2adb8ed50d672a39f40.tar.gz
samba-dab799e5695dc2de9895f2adb8ed50d672a39f40.tar.bz2
samba-dab799e5695dc2de9895f2adb8ed50d672a39f40.zip
s4-smbserver: fixed root_fid in nttrans create
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/smb/nttrans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb/nttrans.c b/source4/smb_server/smb/nttrans.c
index 6a46e6eb7d..23eb04ba2e 100644
--- a/source4/smb_server/smb/nttrans.c
+++ b/source4/smb_server/smb/nttrans.c
@@ -119,7 +119,7 @@ static NTSTATUS nttrans_create(struct smbsrv_request *req,
params = trans->in.params.data;
io->ntcreatex.in.flags = IVAL(params, 0);
- io->ntcreatex.in.root_fid.fnum = IVAL(params, 4);
+ io->ntcreatex.in.root_fid.ntvfs = smbsrv_pull_fnum(req, req->in.vwv, 4);
io->ntcreatex.in.access_mask = IVAL(params, 8);
io->ntcreatex.in.alloc_size = BVAL(params, 12);
io->ntcreatex.in.file_attr = IVAL(params, 20);