Skip to content

Document NTLM legacy authentication guidance - #13255

Merged
svick merged 1 commit into
dotnet:mainfrom
svick:document-ntlm-legacy-guidance
Nov 4, 2026
Merged

svick merged 1 commit into
dotnet:mainfrom
svick:document-ntlm-legacy-guidance

Conversation

@svick

@svick svick commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Summary

Port dotnet/runtime#136154 to the API reference documentation. Add remarks describing NTLM as a legacy protocol intended for compatibility, explain Negotiate's Kerberos preference and NTLM fallback, and document how to prevent NTLM selection.

Note

This pull request was generated with GitHub Copilot.


Internal previews

File Preview link
xml/System.Net.Security/NegotiateAuthentication.xml Learn preview
xml/System.Net.Security/NegotiateAuthenticationClientOptions.xml Learn preview
xml/System.Net.Security/NegotiateAuthenticationServerOptions.xml Learn preview

Build report

Port dotnet/runtime#136154 to the API reference remarks.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: b3d325b9-b147-4c19-9b64-c556550f9c70
@svick
svick requested a review from rzikm November 2, 2026 13:45
@svick
svick marked this pull request as ready for review November 2, 2026 13:45
@svick
svick requested review from a team, bartonjs and vcsjones as code owners November 2, 2026 13:45
Copilot AI balanced review requested due to automatic review settings November 2, 2026 13:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues for this documentation-only NTLM guidance update.

No open issues 🎉

What changed in this PR

This documentation-only PR ports NTLM guidance from dotnet/runtime#136154 into the .NET API reference for NegotiateAuthentication and its options.

Changes:

  • Describes NTLM as a legacy protocol intended only for compatibility.
  • Explains that Negotiate prefers Kerberos but can fall back to NTLM.
  • Documents requesting Kerberos explicitly, where supported, or using another modern protocol to prevent NTLM selection.
File Description
xml/​System.Net.Security/​NegotiateAuthenticationServerOptions.xml Adds protocol-selection guidance to the server Package remarks.
xml/​System.Net.Security/​NegotiateAuthenticationClientOptions.xml Adds protocol-selection guidance to the client Package remarks.
xml/​System.Net.Security/​NegotiateAuthentication.xml Adds type-level remarks about NTLM compatibility use and preferred alternatives.

Review effort: Balanced

@svick
svick merged commit 8df7421 into dotnet:main Nov 4, 2026
11 checks passed
@svick
svick deleted the document-ntlm-legacy-guidance branch November 4, 2026 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants