Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) From: ghudson@mit.edu Subject: git commit RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 742 Fix KDC reply service principal for aliases If a client requests a service ticket for the alias of a service principal, RFC 6806 section 6 requires that the KDC issue a ticket which appears to be for the alias and not for the canonical name. After calling search_sprinc(), only replace request->server with server->princ if the latter is a TGT; this will be the case for an alternate cross-realm TGT or a host referral, but not for a simple service alias. https://github.com/krb5/krb5/commit/24a29f8c0f9f78f96e3795410e202b139fce6236 Author: Greg Hudson Commit: 24a29f8c0f9f78f96e3795410e202b139fce6236 Branch: master src/kdc/do_tgs_req.c | 23 +++++++++++++++-------- 1 files changed, 15 insertions(+), 8 deletions(-)