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:
33bd2c3
)
STEP92? TODO/HACK; SMB2_OP_NEGPROT allowed_flags ...
author
Stefan Metzmacher
<metze@samba.org>
Wed, 18 Jun 2014 14:34:01 +0000
(16:34 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 10 Feb 2020 13:45:14 +0000
(14:45 +0100)
source3/smbd/smb2_server.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_server.c
b/source3/smbd/smb2_server.c
index f94bd97dbf3b8774a6c49f20a2469489659c6358..7c7e2caf682b9ae7adbe5710406905e520369f85 100644
(file)
--- a/
source3/smbd/smb2_server.c
+++ b/
source3/smbd/smb2_server.c
@@
-2457,6
+2457,10
@@
DBG_ERR("=== OBNOX (%s) === : opcode[%s] mid[%llu] csn[%u]\n", __location__, smb
allowed_flags |= SMB2_HDR_FLAG_PRIORITY_MASK;
}
}
+ if (opcode == SMB2_OP_NEGPROT) {
+ // HACK ...
+ allowed_flags = 0;
+ }
if (opcode == SMB2_OP_CANCEL) {
allowed_flags |= SMB2_HDR_FLAG_ASYNC;
}