Expand description
SMB_COM_SESSION_SETUP_ANDX ([MS-SMB] §2.2.4.6).
Two request shapes exist on this command:
- WC=13 — legacy non-extended security (password blobs + account).
- WC=12 — extended security ([MS-NLMP] via SPNEGO): the buffer holds
an opaque
SecurityBlobinstead of passwords.
Structs§
- Session
Setup ExtReq - Parsed extended (WC=12) session setup request: opaque security blob.
- Session
Setup Legacy Req - Parsed legacy (WC=13) session setup request.
Enums§
- Body
Error - Parse error for body decoders.
Functions§
- build_
response - Build a WC=4 session setup response: AndX triple, Action word,
SecurityBlobLength word, then
[blob][NativeOS][NativeLanMan]data. - build_
session_ setup_ response - Build a WC=4 session setup response (blob + OEM strings).