Do not ignore realm when checking for expected ticket or referral
This commit is contained in:

committed by
Nico Williams

parent
10f3ab0f2a
commit
a4fb8984dd
@@ -1051,9 +1051,7 @@ get_cred_kdc_referral(krb5_context context,
|
||||
}
|
||||
|
||||
/* Did we get the right ticket ? */
|
||||
if (krb5_principal_compare_any_realm(context,
|
||||
referral.server,
|
||||
ticket.server))
|
||||
if (krb5_principal_compare(context, referral.server, ticket.server))
|
||||
break;
|
||||
|
||||
if (!krb5_principal_is_krbtgt(context, ticket.server)) {
|
||||
|
Reference in New Issue
Block a user