Commit Graph

15 Commits

Author SHA1 Message Date
Isaac Boukris
2ffaba9401 kdc: sign ticket using Windows PAC
Split Windows PAC signing and verification logic, as the signing has to be when
the ticket is ready.

Create sign and verify the PAC KDC signature if the plugin did not, allowing
for S4U2Proxy to work, instead of KRB5SignedPath.

Use the header key to verify PAC server signature, as the same key used to
encrypt/decrypt the ticket should be used for PAC server signature, like U2U
tickets are signed witht the tgt session-key and not with the longterm key,
and so krbtgt should be no different and the header key should be used.

Lookup the delegated client in DB instead of passing the delegator DB entry.

Add PAC ticket-signatures and related functions.

Note: due to the change from KRB5SignedPath to PAC, S4U2Proxy requests
against new KDC will not work if the evidence ticket was acquired from
an old KDC, and vide versa.

Closes: #767
2021-09-19 13:25:27 +10:00
Isaac Boukris
544515931b tests: default verify_pac to true in test_ap-req 2021-09-19 13:00:21 +10:00
Isaac Boukris
f4fcf8767c tests: fix a typo in test_ap_req 2021-09-19 13:00:04 +10:00
Quanah Gibson-Mount
7c16ce3457 Minor typo/grammar fixes 2017-03-10 15:47:43 -05:00
Nicolas Williams
2027aa11ed Use --detach in tests to avoid waiting 2016-12-07 19:52:29 -06:00
Love Hornquist Astrand
86da42df1d abstract out --no-afslog and --no-unlog 2010-06-01 14:42:16 -07:00
Love Hörnquist Åstrand
42178773ca use test_apreq
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-31 22:10:50 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
6ea6147d09 empty messages.log
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-08 06:59:36 +00:00
Love Hörnquist Åstrand
ea808c9c0e use diffrent port, 49188, and hope that it isnt used, help on solaris where the help services runs on port 8888
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20202 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-08 00:59:47 +00:00
Love Hörnquist Åstrand
1e9aabbe3d Add check to verify the windc module as loaded.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 19:02:24 +00:00
Love Hörnquist Åstrand
8b11693d77 test explicit requested pac and explicit negative requested pac.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19688 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 13:23:35 +00:00
Love Hörnquist Åstrand
1901f0475a Verify PAC on server end too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19673 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 11:06:57 +00:00
Love Hörnquist Åstrand
d9d0379273 test tgs-req
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19645 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-03 19:38:14 +00:00
Love Hörnquist Åstrand
6ce63327d4 test WinDC PAC functionallity
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19633 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-03 15:40:33 +00:00