heimdal Build ticket with the canonical server name
authorAndrew Bartlett <abartlet@samba.org>
Tue, 16 Nov 2010 04:05:33 +0000 (15:05 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 16 Nov 2010 04:30:13 +0000 (15:30 +1100)
We need to use the name that the HDB entry returned, otherwise we
will not canonicalise the reply as requested.

Andrew Bartlett

source4/heimdal/kdc/krb5tgs.c

index 26e3936fe7c45d5afb9ab7a2757b4381dfa6ae6a..4af4c29cebbeb32dc0cd62a9bba4726dd5291c54 100644 (file)
@@ -2142,7 +2142,7 @@ server_lookup:
                         kvno,
                         *auth_data,
                         server,
-                        sp,
+                        server->entry.principal,
                         spn,
                         client,
                         cp,