svn rev #23810: trunk/src/kdc/
tlyu@MIT.EDU
tlyu at MIT.EDU
Tue Mar 16 15:14:33 EDT 2010
http://src.mit.edu/fisheye/changelog/krb5/?cs=23810
Commit By: tlyu
Log Message:
ticket: 6685
target_version: 1.8.1
subject: handle NT_SRV_INST in service principal referrals
Handle NT_SRV_INST in service principal cross-realm referrals, as
Windows apparently uses that instead of NT_SRV_HST for at least some
service principals.
Changed Files:
U trunk/src/kdc/do_tgs_req.c
Modified: trunk/src/kdc/do_tgs_req.c
===================================================================
--- trunk/src/kdc/do_tgs_req.c 2010-03-15 23:50:52 UTC (rev 23809)
+++ trunk/src/kdc/do_tgs_req.c 2010-03-16 19:14:33 UTC (rev 23810)
@@ -1215,6 +1215,7 @@
strlcpy(comp1_str,comp1->data,comp1->length+1);
if ((krb5_princ_type(kdc_context, request->server) == KRB5_NT_SRV_HST ||
+ krb5_princ_type(kdc_context, request->server) == KRB5_NT_SRV_INST ||
(krb5_princ_type(kdc_context, request->server) == KRB5_NT_UNKNOWN &&
kdc_active_realm->realm_host_based_services != NULL &&
(krb5_match_config_pattern(kdc_active_realm->realm_host_based_services,
More information about the cvs-krb5
mailing list