Andrew Bartlett says:
“These days, we can trust that the PAC has been validated by the library, and I
think also that nobody could have put in a false PAC anyway (the KDC should stop
clients setting pre-auth data of that type), so the validation step that fails
isn't doing as much as it did 20 years ago. So I think we could simply patch
[this] check to accept the canonical name and know that we just are working with
that option [‘krb5 acceptor report canonical client name’] having been set.”
Signed-off-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
"in ticket [%s]\n",
logon_name->account_name,
client_principal_string));
- SAFE_FREE(client_principal_string);
- status = NT_STATUS_ACCESS_DENIED;
- goto out;
}
SAFE_FREE(client_principal_string);
--- /dev/null
+# Test for a broken client principal.
+^samba4\.local\.pac\.saved\ check\(none\)$