mirror of
https://github.com/Devolutions/IronRDP.git
synced 2026-11-23 08:25:56 +00:00
476b897129
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.
IronRDP project automation
Free-form automation following cargo xtask specification.