Comment #8 on issue 130512 by
csc4...@gmail.com: Chrome ignoring Negotiate
Against an Apache/krb5 site
Using: (no gssapi library specified, and forcing auth to negotiate)
google-chrome --proxy-pac-url=
http://wpad/wpad.dat
--auth-schemes="negotiate" --disable-auth-negotiate-cname-lookup
--auth-server-whitelist="*" --auto-negotiate-delegate-whitelist="*"
--enable-logging --v=1
1. kdestroy
klist (no credentials cache found)
google-chrome (with above flags) to Apache http://[servername2]
Result: Fail ("Authorization Required / This server could not verify that
you are authorized to access the document requested. Either you supplied
the wrong credentials (e.g., bad password), or your browser doesn't
understand how to supply the credentials required.")
(klist shows no tickets)
Log:
[11053:11077:1096168536302:VERBOSE1:http_auth_controller.cc(256)] The
server http://[servername2]/ requested auth
Has header WWW-Authenticate: Negotiate
Has header WWW-Authenticate: Basic realm="IT Trac - VAS Basic Fallback"
[11053:11077:1096168539454:VERBOSE1:http_auth.cc(44)] Unable to create
AuthHandler. Status: net::ERR_UNSUPPORTED_AUTH_SCHEME Challenge: Basic
realm="IT Trac - VAS Basic Fallback"
[11053:11077:1096168539985:VERBOSE1:http_auth_gssapi_posix.cc(766)]
import_name returned 0x0
[11053:11077:1096168542683:VERBOSE1:http_auth_gssapi_posix.cc(793)]
init_sec_context returned 0xd0000
[11053:11077:1096168542748:ERROR:http_auth_gssapi_posix.cc(896)] Problem
initializing context.
Major: (0x000D0000) Unspecified GSS failure. Minor code may provide more
information | Minor: (0x96C73AC3) Credentials cache file '/tmp/krb5cc_2351'
not found
Unable to describe context 0x(nil), Major: (0x01080000) A required input
parameter could not be read No context has been established | Minor:
(0x00000000) Unknown error
2. kdestroy
klist (no credentials cache found)
kinit - with password
klist (single service prinicpal krbtgt/... etc)
google-chrome (with above flags) to Apache http://[servername2]
Result: Fail ("Authorization Required / This server could not verify that
you are authorized to access the document requested. Either you supplied
the wrong credentials (e.g., bad password), or your browser doesn't
understand how to supply the credentials required.")
(klist shows only existing krbtgt/ principal and one new http/ ticket but
missing krbtgt/[servername2 domain] entry)
Log:
[12116:12140:1096361584190:VERBOSE1:http_auth_controller.cc(256)] The
server http://[servername2]/ requested auth
Has header WWW-Authenticate: Negotiate
Has header WWW-Authenticate: Basic realm="IT Trac - VAS Basic Fallback"
[12116:12140:1096361586817:VERBOSE1:http_auth.cc(44)] Unable to create
AuthHandler. Status: net::ERR_UNSUPPORTED_AUTH_SCHEME Challenge: Basic
realm="IT Trac - VAS Basic Fallback"
[12116:12140:1096361587502:VERBOSE1:http_auth_gssapi_posix.cc(766)]
import_name returned 0x0
[12116:12140:1096361607002:VERBOSE1:http_auth_gssapi_posix.cc(793)]
init_sec_context returned 0x0