87348cf27a
Assists Samba to address CVE-2020-25719 It is critical to ensure that the name in the U2U TGT is still associated with the account was issued to, so we must check the PAC to verify the SID. Otherwise the SPN check via the S4U2Self hook might be mislead. Samba BUG: https://bugzilla.samba.org/show_bug.cgi?id=14873 Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (Similar to Samba commit 49a13f0fc942d1cfb767d5b6bf49d62241d52046)