pull up r19967 from trunk
authorTom Yu <tlyu@mit.edu>
Mon, 1 Oct 2007 22:23:41 +0000 (22:23 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 1 Oct 2007 22:23:41 +0000 (22:23 +0000)
commit8d14dc71f2729032c1f72a86213ed433d4279c31
treef7167eb5a876889c1bbde8f1ba7cc14e0274f235
parent47d189f577d7a5aac8139de0406490b8311b3970
pull up r19967 from trunk

 r19967@cathode-dark-space:  jaltman | 2007-09-24 08:30:03 -0400
 ticket: new
 subject: NIM: BUG: khm_krb5_initialize() failed to return error code
 component: windows

 khm_krb5_initialize() is called in the krb5cred.dll and krb4cred.dll
 credential providers in order to ensure that the caller has references
 to a valid krb5_context and a valid krb5_ccache.  If the krb5_cc_resolve()
 call failed, the error code was not being returned to the caller.
 Instead, success was returned which in turn would result in the caller
 believing the NULL krb5_ccache pointer was in fact valid.

 This fix resolves Microsoft's WER Event ID 432405961.

ticket: 5763
version_fixed: 1.6.3

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@20044 dc483132-0cff-0310-8789-dd5450dbe970
src/windows/identity/plugins/common/krb5common.c