Commit Graph

12277 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
fb540c9646 Move client referral checking to _krb5_extract_ticket().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22749 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:08:09 +00:00
Love Hörnquist Åstrand
d3d7661043 More bits for server referral.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22748 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:08:05 +00:00
Love Hörnquist Åstrand
e1cb28d159 Make working with client referrals.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22747 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:08:01 +00:00
Love Hörnquist Åstrand
07479ebcde x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22746 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:57 +00:00
Love Hörnquist Åstrand
e27db7b9b4 Match name in ClientCanonicalizedNames with -10
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:54 +00:00
Love Hörnquist Åstrand
e33ec47aaf Try moving referrals checking into _krb5_extract_ticket().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22743 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:46 +00:00
Love Hörnquist Åstrand
940435a608 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22742 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:43 +00:00
Love Hörnquist Åstrand
eca9feff87 add referral-valid-until
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22741 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:39 +00:00
Love Hörnquist Åstrand
c3e55c1f54 Try moving referrals checking into _krb5_extract_ticket().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22740 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:34 +00:00
Love Hörnquist Åstrand
1da2a3782e Add code to check PA_ServerReferralData.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:22 +00:00
Love Hörnquist Åstrand
d6845ca8a4 kill trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22734 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:09 +00:00
Love Hörnquist Åstrand
0fd74cc5e4 remove lost bits from using krb5_principal_set_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22731 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:57 +00:00
Love Hörnquist Åstrand
3d935af61d use krb5_principal_set_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22727 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:42 +00:00
Love Hörnquist Åstrand
457dbdfb8b use krb5_principal_set_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:38 +00:00
Love Hörnquist Åstrand
ba287b247d add krb5_principal_set_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22725 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:34 +00:00
Love Hörnquist Åstrand
de57423148 add krb5_principal_set_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:30 +00:00
Love Hörnquist Åstrand
a86c4ec9ab Insecure tgs referrals.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22723 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:26 +00:00
Love Hörnquist Åstrand
756ead1cd9 Find_cred to try krb5_cc_retrieve_cred first, remove comment.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:08 +00:00
Love Hörnquist Åstrand
1e5e118bcf Fix error message to match function called.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22718 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:04 +00:00
Love Hörnquist Åstrand
92e7251a36 Refactor code to flatten the call-tree.
Make the ticket request in the TGS-REQ inherit the address-ness of the
krbtgt if the address is not specified in the function call.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22717 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:00 +00:00
Love Hörnquist Åstrand
e5baf09800 Dont try key usage KRB5_KU_AP_REQ_AUTH for TGS-REQ. This drop
compatibility with pre 0.3d KDCs.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22714 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:49 +00:00
Love Hörnquist Åstrand
ecd4be81f0 set KRB5_GC_CANONICALIZE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:34 +00:00
Love Hörnquist Åstrand
829360b3f6 Catch KRB5_GC_CANONICALIZE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22708 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:26 +00:00
Love Hörnquist Åstrand
b9f88cce4c first version of the tgs referrals pathcheck
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22703 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:02 +00:00
Love Hörnquist Åstrand
18fde62022 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22697 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-19 19:46:04 +00:00
Love Hörnquist Åstrand
3eaa53c066 Try to find unzip.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22696 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-19 19:45:49 +00:00
Love Hörnquist Åstrand
f47edf11f2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22695 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-19 16:00:51 +00:00
Love Hörnquist Åstrand
bdcafc6d2d Drop unused defined that originates from aes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22694 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-19 15:58:50 +00:00
Love Hörnquist Åstrand
23895f4fb9 Check for dup aliases before overwriting, pointed out by Johanna Mannung
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22691 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-18 10:14:02 +00:00
Love Hörnquist Åstrand
3a7287955f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22690 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-16 14:30:58 +00:00
Love Hörnquist Åstrand
e4549b08d5 add missing symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22689 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-16 11:35:21 +00:00
Love Hörnquist Åstrand
784ffbfa6a Make delegated credentials delegated directly, Oleg Sharoiko pointed out that it always didnt work with the old code. Also add som missing cred and context pass-thou functions in the SPNEGO layer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22688 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-16 11:33:58 +00:00
Love Hörnquist Åstrand
df1cca124b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22682 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-14 21:11:21 +00:00
Love Hörnquist Åstrand
49dffae447 Add test for gsskrb5_register_acceptor_identity.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22681 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-14 21:10:43 +00:00
Love Hörnquist Åstrand
7984dfc6b7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-14 14:53:38 +00:00
Love Hörnquist Åstrand
00f8b507cb rename to be more consistent, export for teting
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22679 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-14 14:52:48 +00:00
Love Hörnquist Åstrand
90c30290de Export hx509_query_match_expr.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22678 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-14 01:23:04 +00:00
Love Hörnquist Åstrand
7776ed30a9 Add language to support querying certificates to find a match. Support constructs like "1.3.6.1.5.2.3.5" IN %{certificate.eku} AND %{certificate.subject} TAILMATCH "C=SE"".
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22677 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-13 17:35:49 +00:00
Love Hörnquist Åstrand
08cb59513f Add (c).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22676 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-12 15:14:55 +00:00
Love Hörnquist Åstrand
b0a619c3aa Add (c).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22675 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-12 15:14:34 +00:00
Love Hörnquist Åstrand
0968e71694 Try searchin the key by to use by first looking for for PK-INIT
EKU, then the Microsoft smart card EKU and last, no special EKU at all.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22673 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-10 15:00:05 +00:00
Love Hörnquist Åstrand
1828420cc3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-09 23:58:11 +00:00
Love Hörnquist Åstrand
2d405842ad (init_auth): use right variable to detect if we want to free or not.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22671 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-09 23:57:54 +00:00
Love Hörnquist Åstrand
aff5c9adc4 Create a new credential cache is ->get_name is called, make
acc_initialize() reset the existing credential cache if needed.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22669 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-09 23:39:25 +00:00
Love Hörnquist Åstrand
32809668a9 (acc_get_name): just return the cache_name directly instead of trying
to resolve it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22667 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-09 23:08:32 +00:00
Love Hörnquist Åstrand
351161faed x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22664 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-26 17:01:08 +00:00
Love Hörnquist Åstrand
2800e5d81a Add more built files so they are distributed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22663 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-26 17:00:25 +00:00
Love Hörnquist Åstrand
d635542a92 add hx509_pem_read
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22662 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-26 16:19:36 +00:00
Love Hörnquist Åstrand
fe254dd716 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22661 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-26 15:10:18 +00:00
Love Hörnquist Åstrand
c130ec0a6a add missing \
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22660 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-26 15:09:34 +00:00