Fix user2user principal (again)

73debbc166 accidentially reverted
the critical part of 040a093654,
presumably during conflict resolution.

Found by a strict Samba compile during import of current Heimdal.

See #780

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andrew Bartlett
2021-06-30 14:02:27 +12:00
committed by Luke Howard
parent 8875cb656b
commit 8caadcd9fc

View File

@@ -1690,7 +1690,7 @@ tgs_build_reply(astgs_request_t priv,
goto out; goto out;
} }
ret = verify_flags(context, config, &adtkt, spn); ret = verify_flags(context, config, &adtkt, tpn);
if (ret) { if (ret) {
_kdc_audit_addreason((kdc_request_t)priv, _kdc_audit_addreason((kdc_request_t)priv,
"User-to-user TGT expired or invalid"); "User-to-user TGT expired or invalid");