Skip Menu |
 

From: Luke Howard <lhoward@MIT.EDU>
To: krb5-bugs@MIT.EDU
Subject: k5_pac_validate_client()
Date: Wed, 2 Sep 2009 00:45:34 +0200
Show quoted text
Bug in 1.7 in k5_pac_validate_client(), in 1.7. It would be nice to fix this for 1.7.1.

The issue is that PACs from principals in different realms to the service fail to validate.

The fix to pac.c is to ignore the realm component (because the principal name in the PAC is unqualified):

    if (pac_authtime != authtime ||
        !krb5_principal_compare_flags(context,
                                      pac_principal,
                                      principal,
                                      KRB5_PRINCIPAL_COMPARE_IGNORE_REALM))
        ret = KRB5KRB_AP_WRONG_PRINC;

-- Luke

The suggested change was made on the side in ticket 6572.