Skip to main content

smb_server_auth/
lib.rs

1//! SMB authentication primitives.
2//!
3//! Cryptographic primitives come from the [`smb_server_csp`] crypto service
4//! provider (RustCrypto crates by default, bundled implementations behind a
5//! feature flag). Also hosts the
6//! [MS-NLMP] NTLMSSP message construction/parsing and the minimal SPNEGO
7//! DER wrapping used during extended-security session setup.
8//!
9//! These pieces are dialect-independent: SMB1 extended security and SMB2
10//! session setup both speak SPNEGO + NTLMSSP.
11
12#![forbid(unsafe_code)]
13#![deny(missing_docs)]
14#![warn(missing_debug_implementations)]
15
16pub mod crypto;
17pub mod ntlm;