DescriptionKerberos uses an SPN (Service Principal Name) to identify a server. This is typically in the form "HTTP/host:port", with the ":port" suffix being optional, and the "HTTP/" prefix is fixed regardless of whether the service is accessed over HTTP or HTTPS.
The issue this is fixing is that the URL host may be an incomplete domain name, a numerical address, or an alias for a canonical DNS name.
By default, Chrome will skip adding the optional port to the SPN, and will use the canonical DNS name for the server (which may be the original server name if it is an A or AAAA record). This matches IE and Firefox's default behavior.
Some intranets are set up so the original host name should be used rather than the canonical name. The canonical name resolution can be disabled with the --disable-spnego-cname-lookup command line flag.
Some intranets are also set up so the optional port should be specified when it is non-standard (non 80 or 443). Use the --enable-spnego-port command line flag.
BUG=29862
TEST=net_unittests.exe --gtest_filter="*CanonicalName*"
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=44526
Patch Set 1 #
Total comments: 3
Patch Set 2 : Numerous changes. #Patch Set 3 : SPN becomes FQDN #Patch Set 4 : Command line options for SPN generation. #Patch Set 5 : Remove unintended executable bit on net.gyp #Patch Set 6 : Fix posix builds. #
Total comments: 48
Patch Set 7 : Unit test for FQDN. #Patch Set 8 : Fix issues which wtc raised. #Patch Set 9 : Merge with head. #
Total comments: 25
Patch Set 10 : Numerous fixes to wtc/eroman's concern. #Patch Set 11 : Small change to unit test. #Patch Set 12 : Forgot to include chrome_switches.h changes. #
Total comments: 2
Patch Set 13 : Some formatting tweaks. #Patch Set 14 : Store the user callback. #
Total comments: 6
Patch Set 15 : Resolving a couple of nits. #Patch Set 16 : Fix to GetCanonicalName that is another CL. #
Messages
Total messages: 23 (0 generated)
|