mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +03:00
3358b04a58
In the first place, this check was only applicable to the Heimdal KDC, the MIT KDC not having support for compounded authentication. Secondly, it was redundant, because _kdc_fast_check_armor_pac() would have already been called to verify the armor ticket; a second round of validation achieved nothing. And finally, the check was flawed: it checked only *explicitly* armored PACs, and so would have done nothing for an armored *AS‐REQ*. In short, this check was useless; remove it. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>