Files
Marc-André Moreau 476b897129 feat(mstsgu): add Negotiate and NTLM HTTP gateway auth (#1715)
Corporate RD Gateways typically challenge with Negotiate or NTLM rather
than Basic, so the WebSocket-only client could not complete the upgrade.

The first upgrade request omits Authorization. On 401, WWW-Authenticate
is parsed as an HTTP challenge list and Negotiate is preferred (Kerberos
then NTLM inside SPNEGO via sspi network_client), then NTLM, then HTTP
Basic. SSPI and KDC resolution run on spawn_blocking. A 101 may complete
SSPI from a final GSS token when present. connect and connect_with_port
signatures are unchanged.

sspi 0.21 is an implementation-only dependency. HTTP auth tests live in
tests/http_auth.rs so [lib] test = false can stay. xtask runs that
target with native-tls. RPCH, UDP, reauth, Detect, extended-auth packet
exchange, and TLS channel bindings remain out of scope.
2026-08-19 22:55:40 -04:00
..

IronRDP project automation

Free-form automation following cargo xtask specification.