mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
CVE-2016-2110: ntlmssp.idl: add NTLMSSP_MIC_{OFFSET,SIZE}
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11644 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
This commit is contained in:
parent
4c4829634f
commit
8b76b05fe7
@ -244,9 +244,12 @@ interface ntlmssp
|
||||
[default] NTLMv2_RESPONSE v2;
|
||||
} ntlmssp_NTLM_RESPONSE;
|
||||
|
||||
const int NTLMSSP_MIC_OFFSET = 72;
|
||||
const int NTLMSSP_MIC_SIZE = 16;
|
||||
|
||||
typedef [flag(NDR_PAHEX)] struct {
|
||||
uint8 MIC[16];
|
||||
} MIC;
|
||||
uint8 MIC[NTLMSSP_MIC_SIZE];
|
||||
} ntlmssp_MIC;
|
||||
|
||||
/* [MS-NLMP] 2.2.1.3 AUTHENTICATE_MESSAGE */
|
||||
|
||||
@ -275,7 +278,7 @@ interface ntlmssp
|
||||
[switch_is(NegotiateFlags & NTLMSSP_NEGOTIATE_VERSION)] ntlmssp_Version Version;
|
||||
/* MIC (Message Integrity) is only included when the client has
|
||||
* sent a timestap Av struct in the CHALLENGE_MESSAGE AvPair */
|
||||
/* [flag(NDR_REMAINING)] MIC mic; */
|
||||
/* [flag(NDR_REMAINING)] ntlmssp_MIC mic; */
|
||||
} AUTHENTICATE_MESSAGE;
|
||||
|
||||
/* NTLMSSP signature version */
|
||||
|
Loading…
x
Reference in New Issue
Block a user