ba7e5df Fix KRB5PrincipalName / UPN SAN comparison

1 file Authored by ftweedal 8 years ago, Committed by mbasti 8 years ago,
    Fix KRB5PrincipalName / UPN SAN comparison
    
    Depending on how the target principal name is conveyed to the
    command (i.e. with / without realm), the KRB5PrincipalName / UPN
    subjectAltName validation could be comparing unequal strings and
    erroneously rejecting a valid request.
    
    Normalise both side of the comparison to ensure that the principal
    names contain realm information.
    
    Fixes: https://fedorahosted.org/freeipa/ticket/5191
    Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
    
        
file modified
+1 -1