summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-05-29 18:23:00 +1000
committerAndrew Tridgell <tridge@samba.org>2008-05-29 18:23:00 +1000
commitf6b678b57e14e23479530b64652efe8c51bb4929 (patch)
tree55c80d7052a07c2b3ded8a63098bfd4980ced404 /source4/libcli/smb2
parentc793faf9986a754d4b68b9feb080878d130601e3 (diff)
downloadsamba-f6b678b57e14e23479530b64652efe8c51bb4929.tar.gz
samba-f6b678b57e14e23479530b64652efe8c51bb4929.tar.bz2
samba-f6b678b57e14e23479530b64652efe8c51bb4929.zip
fixed offset for maximal access response
(This used to be commit ddd0bb32510d615c7b943fb4ce4c9c275b98ab89)
Diffstat (limited to 'source4/libcli/smb2')
-rw-r--r--source4/libcli/smb2/create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb2/create.c b/source4/libcli/smb2/create.c
index 342a519376..8a40e56a00 100644
--- a/source4/libcli/smb2/create.c
+++ b/source4/libcli/smb2/create.c
@@ -393,7 +393,7 @@ NTSTATUS smb2_create_recv(struct smb2_request *req, TALLOC_CTX *mem_ctx, struct
smb2_request_destroy(req);
return NT_STATUS_INVALID_NETWORK_RESPONSE;
}
- io->out.maximal_access = IVAL(io->out.blobs.blobs[i].data.data, 0);
+ io->out.maximal_access = IVAL(io->out.blobs.blobs[i].data.data, 4);
}
if (strcmp(io->out.blobs.blobs[i].tag, SMB2_CREATE_TAG_QFID) == 0) {
if (io->out.blobs.blobs[i].data.length != 32) {