git.samba.org
/
kai
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert SMB and SMB2 code to use a common buffer handling structure
[kai/samba-autobuild/.git]
/
source4
/
smb_server
/
smb2
/
negprot.c
diff --git
a/source4/smb_server/smb2/negprot.c
b/source4/smb_server/smb2/negprot.c
index 7c295c05abce09b9b761613c0da86f6399faea9b..578eadbe8fd90fbc547c23643cd53897b2059bd7 100644
(file)
--- a/
source4/smb_server/smb2/negprot.c
+++ b/
source4/smb_server/smb2/negprot.c
@@
-238,6
+238,8
@@
void smb2srv_reply_smb_negprot(struct smbsrv_request *smb_req)
req->in.body_size = body_fixed_size;
req->in.dynamic = NULL;
+ smb2srv_setup_bufinfo(req);
+
SIVAL(req->in.hdr, 0, SMB2_MAGIC);
SSVAL(req->in.hdr, SMB2_HDR_LENGTH, SMB2_HDR_BODY);
SSVAL(req->in.hdr, SMB2_HDR_EPOCH, 0);