git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aab0e67
)
HACK - add SMB2_HDR_FLAG_REPLAY_OPERATION to the allowed_flags in request-dispatch
author
Michael Adam
<obnox@samba.org>
Fri, 2 Mar 2012 22:51:54 +0000
(23:51 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 10 May 2012 16:46:49 +0000
(18:46 +0200)
source3/smbd/smb2_server.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_server.c
b/source3/smbd/smb2_server.c
index f84e053fb74b7ab3902be07b348c0694e105d317..c168ea003f2d0defaad28a094f8e658cf706db84 100644
(file)
--- a/
source3/smbd/smb2_server.c
+++ b/
source3/smbd/smb2_server.c
@@
-1432,6
+1432,9
@@
NTSTATUS smbd_smb2_request_dispatch(struct smbd_smb2_request *req)
if (opcode == SMB2_OP_CANCEL) {
allowed_flags |= SMB2_HDR_FLAG_ASYNC;
}
+ if (true /* TODO - which OPs ? */) {
+ allowed_flags |= SMB2_HDR_FLAG_REPLAY_OPERATION;
+ }
if ((flags & ~allowed_flags) != 0) {
return smbd_smb2_request_error(req, NT_STATUS_INVALID_PARAMETER);
}