Expand description
NEGOTIATE ([MS-SMB2] §2.2.3).
Modules§
Structs§
Constants§
- DIALECT_
202 - Dialect numbers (§2.2.3.1.1). SMB 2.0.2 dialect revision.
- DIALECT_
210 - SMB 2.1.0 dialect revision.
- DIALECT_
300 - SMB 3.0 dialect revision.
- DIALECT_
302 - SMB 3.0.2 dialect revision.
- DIALECT_
311 - SMB 3.1.1 dialect revision.
- DIALECT_
WILDCARD - Wildcard revision returned to a multi-protocol “SMB 2.???” offer ([MS-SMB2] §2.2.4); the client then sends a real SMB2 NEGOTIATE.
- SIGNING_
ENABLED - SecurityMode bits (§2.2.3.1.1). Signing is supported but not required.
- SIGNING_
REQUIRED - Signing is required by the server.
- SUPPORTED_
SIGNING - Signing algorithms this server can compute, in fallback preference order.
Functions§
- build_
response - Build the NEGOTIATE response body (§2.2.3.1) — no security blob (clients initiate NTLMSSP in SESSION_SETUP).
- build_
response_ full - Build the NEGOTIATE response body (§2.2.3.1) — no security blob (clients initiate NTLMSSP in SESSION_SETUP).
- parse_
signing_ algos - Parse a client
SMB2_SIGNING_CAPABILITIEScontext (§2.2.3.1.7) into its advertised SigningAlgorithms list. - pick
- Pick the highest supported dialect.
- select_
signing_ algo - Select the signing algorithm: the client’s first that the server supports ([MS-SMB2] §3.3.5.4).