dotnet/runtime

Enhance the NTLM negotiation testing on Linux/macOS

Open

#71.427 aperta il 29 giu 2022

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)C# (5445 fork)batch import
area-System.Net.Securityhelp wantedtest-enhancement

Metriche repository

Star
 (17.886 star)
Metriche merge PR
 (Merge medio 12g 11h) (661 PR mergiate in 30 g)

Descrizione

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.

Guida contributor