git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa1ddfb
)
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
Günther Deschner
<gd@samba.org>
Mon, 19 Sep 2016 20:20:49 +0000
(22:20 +0200)
source3/smbd/smb2_server.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_server.c
b/source3/smbd/smb2_server.c
index 028bf979509784bfc5ce763b3ce9cf014ac7a63c..02c9d97db8c9b43fdd453759774877a8ff45ffa3 100644
(file)
--- a/
source3/smbd/smb2_server.c
+++ b/
source3/smbd/smb2_server.c
@@
-2350,6
+2350,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;
}