dotnet/runtime

Enhance the NTLM negotiation testing on Linux/macOS

Open

#71,427 opened on Jun 29, 2022

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C# (5,445 forks)batch import
area-System.Net.Securityhelp wantedtest-enhancement

Repository metrics

Stars
 (17,886 stars)
PR merge metrics
 (Avg merge 12d 11h) (661 merged PRs in 30d)

Description

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