Repository navigation
make use of ports in SPN optional - #57159
Merged
Merged
Conversation
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This is regression caused by #40860. There is some ambiguity if port should be used for contracting SPN when it is not default port. We did not do that up to 5.0 and we do since. However that change can have negative impact on existing services.
Since there is no API for developers to control the SPN (#25320), I added ENV & AppContext switch so control this and choose old or new behavior globally.
I did some more testing with IIS can 4.7/4.8 It seems like when configure server on custom ports, client connects to it without specifying port in SPN.
For that reason I'm leaving this off by default as we did prior to 5.0.
fixes #53193
fixes #51701