Repository navigation
Document NTLM legacy authentication guidance - #13255
Merged
Merged
Conversation
Port dotnet/runtime#136154 to the API reference remarks. Co-authored-by: Copilot <[email protected]> Copilot-Session: b3d325b9-b147-4c19-9b64-c556550f9c70
Contributor
There was a problem hiding this comment.
🟢 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
rzikm
approved these changes
Nov 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Build report