mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-25 22:50:12 -05:00
MS-KILE's PA-PAC-REQUEST sequence allows the Kerberos client to request a TGT without a PAC. At the moment, there is no way to configure the MIT KDC to reject such request. This commit enforces the presence of the PAC when processing TGTs provided by TGS-REQ. It ensures the server principal of the TGT is the same as the one in PAC_CLIENT_INFO (i.e. enforces client principal canonicalization) with integrity check. Only one exception is applied: this check is skipped for local TGTs on domain where the MS-PAC generator is not initialized (i.e. domains where SID generation was not executed yet). Signed-off-by: Julien Rische <jrische@redhat.com>