dotnet/runtime

Enhance the NTLM negotiation testing on Linux/macOS

Open

#71.427 geöffnet am 29. Juni 2022

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (5.445 Forks)batch import
area-System.Net.Securityhelp wantedtest-enhancement

Repository-Metriken

Stars
 (17.886 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 12T 11h) (661 gemergte PRs in 30 T)

Beschreibung

Both krb5+gssntlm-ssp and macOS GSSAPI seem to support passing a custom credential file for testing through the NTLM_USER_FILE environment variable. The format of the file is the following:

DOMAIN:user:password

In theory that could enable some round-trip tests like the ones for HTTP authentication or the NegotiateStream tests. I briefly experimented with it and already uncovered a couple of issues.

Contributor Guide