From 880a98df1a344fdd0fb848a056fd6873aa735a46 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 16 Nov 2010 15:05:33 +1100 Subject: [PATCH] kdc: Build ticket with the canonical server name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We need to use the name that the HDB entry returned, otherwise we will not canonicalise the reply if requested. Andrew Bartlett Signed-off-by: Love Hörnquist Åstrand --- kdc/krb5tgs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdc/krb5tgs.c b/kdc/krb5tgs.c index 58747177c..c74676cc5 100644 --- a/kdc/krb5tgs.c +++ b/kdc/krb5tgs.c @@ -2208,7 +2208,7 @@ server_lookup: kvno, *auth_data, server, - sp, + server->entry.principal, spn, client, cp,