|
ProtoCore v0.0.1
Deterministic, zero-heap network stack for embedded targets
|
SPNEGO (RFC 4178) GSS-API wrapping of the NTLMSSP tokens for the SMB2 client (PC_ENABLE_SMB). More...
#include "protocore_config.h"Go to the source code of this file.
SPNEGO (RFC 4178) GSS-API wrapping of the NTLMSSP tokens for the SMB2 client (PC_ENABLE_SMB).
SMB2 SESSION_SETUP carries the NTLM handshake tokens inside a SPNEGO negotiation token. This is the minimal ASN.1 DER layer that a client needs:
[APPLICATION 0] { SPNEGO-OID, NegTokenInit [0] { mechTypes [0] { NTLM-OID }, mechToken [2] OCTET STRING(NTLMSSP NEGOTIATE) } };[1] { ..., responseToken [2] OCTET STRING(NTLMSSP
CHALLENGE) }, from which the client extracts the CHALLENGE;[1] { responseToken [2] OCTET STRING(NTLMSSP
AUTHENTICATE) }.Pure DER, zero heap, definite-length only. The NTLM tokens come from ntlmssp.h.
Definition in file spnego.h.