Skip Menu |
 

From: ghudson@mit.edu
Subject: SVN Commit

The krb5_get_credentials() rewrite for IAKERB accidentally omitted the
final step of restoring the requested realm in the output credentials.
As a result, referral entries are not cached, and the caller sees the
actual realm in (*out_creds)->server instead of the referral realm as
before. Fix this in complete() by swapping ctx->req_server into
ctx->reply_creds->server.

https://github.com/krb5/krb5/commit/9d798967caaea110173d683af2948ed6bf57ce97
Commit By: ghudson
Revision: 24945
Changed Files:
U trunk/src/lib/krb5/krb/get_creds.c
From: tlyu@mit.edu
Subject: SVN Commit

pull up r24945 from trunk

------------------------------------------------------------------------
r24945 | ghudson | 2011-05-26 14:05:49 -0400 (Thu, 26 May 2011) | 12 lines

ticket: 6916
subject: Restore krb5_get_credentials caching for referral requests
target_version: 1.9.2
tags: pullup

The krb5_get_credentials() rewrite for IAKERB accidentally omitted the
final step of restoring the requested realm in the output credentials.
As a result, referral entries are not cached, and the caller sees the
actual realm in (*out_creds)->server instead of the referral realm as
before. Fix this in complete() by swapping ctx->req_server into
ctx->reply_creds->server.

https://github.com/krb5/krb5/commit/3187e3111e53478fd41483e4191a788d4112abe8
Commit By: tlyu
Revision: 24956
Changed Files:
U branches/krb5-1-9/src/lib/krb5/krb/get_creds.c