Skip to content

Commit

Permalink
handle NT_SRV_INST in service principal referrals
Browse files Browse the repository at this point in the history
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.

ticket: 6685
target_version: 1.8.1

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23810 dc483132-0cff-0310-8789-dd5450dbe970
  • Loading branch information
tlyu committed Mar 16, 2010
1 parent 6bd96a6 commit 1c2a27e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/kdc/do_tgs_req.c
Expand Up @@ -1215,6 +1215,7 @@ prep_reprocess_req(krb5_kdc_req *request, krb5_principal *krbtgt_princ)
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,
Expand Down

0 comments on commit 1c2a27e

Please sign in to comment.