git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c818f56
)
fixed offset for maximal access response
author
Andrew Tridgell
<tridge@samba.org>
Thu, 29 May 2008 08:23:00 +0000
(18:23 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 29 May 2008 08:23:00 +0000
(18:23 +1000)
source/libcli/smb2/create.c
patch
|
blob
|
history
diff --git
a/source/libcli/smb2/create.c
b/source/libcli/smb2/create.c
index 342a5193760d007766a9de2d4e673963c68059f4..8a40e56a00e613a94c371f7ba852fefc38d960e7 100644
(file)
--- a/
source/libcli/smb2/create.c
+++ b/
source/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) {