diff options
author | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-31 11:10:55 +0000 |
---|---|---|
committer | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-31 11:10:55 +0000 |
commit | 228739b4afab820bbaf15e6266f8070c741c636f (patch) | |
tree | 7110aae224d2ce620758eec271d4fea3144ff051 /net/base | |
parent | 95c473307f3a0f87ed6bd94640ebd47d4fe67802 (diff) | |
download | chromium_src-228739b4afab820bbaf15e6266f8070c741c636f.zip chromium_src-228739b4afab820bbaf15e6266f8070c741c636f.tar.gz chromium_src-228739b4afab820bbaf15e6266f8070c741c636f.tar.bz2 |
Map SECURITY_STATUS from InitializeSecurityContext to net error codes.
The SSPI implementation of Negotiate+NTLM used to have too many ways to generate an ERR_UNEXPECTED return code, which made it difficult to diagnose user reported issues.
BUG=53850
TEST=net_unittests
Review URL: http://codereview.chromium.org/3234007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57979 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r-- | net/base/net_error_list.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h index 014829d..785cbed 100644 --- a/net/base/net_error_list.h +++ b/net/base/net_error_list.h @@ -363,6 +363,14 @@ NET_ERROR(ENCODING_DETECTION_FAILED, -340) // (GSSAPI) No Kerberos credentials were available during HTTP Authentication. NET_ERROR(MISSING_AUTH_CREDENTIALS, -341) +// A valid SSPI return code that does not have an equivalent error +// code. +NET_ERROR(UNMAPPED_SSPI_ERROR, -342) + +// The environment was not set up correctly for authentication (for +// example, no KDC could be found or the principal is unknown. +NET_ERROR(MISCONFIGURED_AUTH_ENVIRONMENT, -343) + // The cache does not have the requested entry. NET_ERROR(CACHE_MISS, -400) |