Files
heimdal/kdc
Jeffrey Altman ec39b832ff kdc: fix kx509 service principal match
Each KDC is a kx509 server.  The service principal must be of the
form

  kca_service/<localhost.domain>@<DEFAULT_REALM>

where localhost.domain is the hostname returned by gethostname()
and <DEFAULT_REALM> is one of the realms for which the KDC has a service
principal "kca_service/<localhost.domain>".

The matching code was broken by a5e77c578e
when krb5_sname_to_principal() began to always return a referral
principal.

Since the second component is a host name update the default principal
type for service "kca_service" to be KRB5_NT_SRV_HST.

Change-Id: I6bd5f90b674ebb7220d8efafa6d339fdc21e1a07
2017-01-27 00:37:08 -05:00
..
2011-07-24 13:07:07 -07:00
2016-02-26 01:04:31 -06:00
2016-01-20 15:03:30 -06:00
2011-05-21 11:57:31 -07:00
2011-05-21 11:57:31 -07:00
2016-06-09 01:13:14 -04:00
2014-04-28 01:02:45 +02:00
2016-11-20 17:43:51 -06:00
2011-05-21 11:57:31 -07:00
2015-04-21 21:50:43 -04:00
2017-01-27 00:37:08 -05:00
2010-11-29 10:53:49 -05:00
2011-11-28 14:42:06 -06:00
2016-04-16 16:58:08 -05:00
2014-08-23 18:54:05 -07:00
2008-09-13 09:21:03 +00:00
2011-05-21 11:57:31 -07:00
2011-05-21 11:57:31 -07:00
2011-07-24 20:24:35 -07:00
2016-06-09 01:13:15 -04:00