fix import of SPN with Kerberos realm#126279
Conversation
|
Tagging subscribers to this area: @dotnet/ncl, @bartonjs, @vcsjones |
There was a problem hiding this comment.
Pull request overview
Adds NegotiateAuthentication EnterpriseTests to exercise real Kerberos/Negotiate flows against a real KDC, expanding System.Net.Security’s enterprise-level coverage.
Changes:
- Include a new
NegotiateAuthenticationTest.csin the Enterprise test project. - Add several client-only and client/server NegotiateAuthentication handshake tests (including protection level and wrap/unwrap scenarios).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 12 comments.
| File | Description |
|---|---|
| src/libraries/System.Net.Security/tests/EnterpriseTests/System.Net.Security.Enterprise.Tests.csproj | Adds the new NegotiateAuthentication Enterprise test file to the test project. |
| src/libraries/System.Net.Security/tests/EnterpriseTests/NegotiateAuthenticationTest.cs | Introduces new enterprise tests for NegotiateAuthentication client/server scenarios against a KDC. |
|
This would be missing edge cases when you also have a realm. Eg HOST/linuxclient.domain.com@realm.io |
Anything beyond ClientAuthentication_TargetNameWithRealm_Succeeds @psmulovics |
|
@fhubi, does that cover all our use cases? |
|
Let me know @filipnavara if this makes sense to you. |
Probably yes. |
|
/ba-g failures unrelated |
Added to Enterprise suite to run agains real KDC
fixes #126979