]> git.ipfire.org Git - thirdparty/samba.git/commit
kdc: Correctly strip PAC, rather than error on UF_NO_AUTH_DATA_REQUIRED for servers
authorAndrew Bartlett <abartlet@samba.org>
Mon, 18 Oct 2021 03:00:45 +0000 (16:00 +1300)
committerStefan Metzmacher <metze@samba.org>
Wed, 27 Oct 2021 22:37:10 +0000 (22:37 +0000)
commit3eb78cd43b6feb5fdee396881ca46e84371918f3
treee414511288e4cf66b7741e927cc624e64909a1f4
parent106dc4a049265e49f5b39c0bf0dbb3793aa34a61
kdc: Correctly strip PAC, rather than error on UF_NO_AUTH_DATA_REQUIRED for servers

UF_NO_AUTH_DATA_REQUIRED on a server/service account should cause
the PAC to be stripped not to given an error if the PAC was still
present.

Tested against Windows 2019

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14871
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14881

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 031a8287642e3c4b9d0b7c6b51f3b1d79b227542)
selftest/knownfail_heimdal_kdc
source4/kdc/wdc-samba4.c