Commit Graph

21788 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
28b73ab194 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22744 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:50 +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
424eede709 Rename tgs_build_referral to build_server_referral since it can be
used for AS-REQ too.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22739 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:31 +00:00
Love Hörnquist Åstrand
99a3df5a8a Try client side guessing too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22738 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:27 +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
5aaf35765e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22736 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:17 +00:00
Love Hörnquist Åstrand
203a4ad7f1 Send SERVER-REFERRAL data in rep.padata instead of auth_data in ticket.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22735 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:13 +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
294999cc14 kill trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22733 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:05 +00:00
Love Hörnquist Åstrand
b0aae2d071 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22732 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:01 +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
31411663b5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22730 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:53 +00:00
Love Hörnquist Åstrand
f57e7c4d5f Better referrals support, use canonicalize flag.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22729 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:50 +00:00
Love Hörnquist Åstrand
9ae2936124 use krb5_principal_set_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22728 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:46 +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
6f69a2b8f9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22722 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:22 +00:00
Love Hörnquist Åstrand
5586e24dd3 More verbose checks, disable check that no longer works with referrals.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22721 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:18 +00:00
Love Hörnquist Åstrand
03092c3e9a Fix [domain_realm] section.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22720 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:12 +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
cd06f67cdb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22716 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:56 +00:00
Love Hörnquist Åstrand
c3d816441f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22715 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:52 +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
50901132f0 Also check KDCOptions->canonicalize when looking for referrals requests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22713 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:45 +00:00
Love Hörnquist Åstrand
098a497638 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22712 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:41 +00:00
Love Hörnquist Åstrand
b2aff2d2bd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22711 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:38 +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
2b861313a8 set KRB5_GC_CANONICALIZE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22709 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:30 +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
9a041ab3e3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22707 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:22 +00:00
Love Hörnquist Åstrand
395d4e88af Test TGS referrals.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22706 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:18 +00:00
Love Hörnquist Åstrand
3fdb2ae3e3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22705 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:14 +00:00
Love Hörnquist Åstrand
2f7728caff Add stub --canonicalize implementation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22704 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:10 +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
68c7f7560e Update to match new API for windc interface.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22702 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-22 22:20:29 +00:00
Love Hörnquist Åstrand
c008e1015f Attached is a patch that fixes the following:
- The argument for setsockopt is an int, not a size_t. This breaks on
  64bit OS's causing the buffer not to be set (or triggers a kernel
  bug on AIX due to size_t being parsed as an int and setting the
  socket buffer to zero due to bad kernel error checking).
- Add a check to see if the socket buffer is large enough already,
  don't make it smaller if it is.

From Niklas Edmundsson


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22701 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-21 21:37:32 +00:00
Love Hörnquist Åstrand
20fa0e0ba4 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22700 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-21 21:37:27 +00:00
Love Hörnquist Åstrand
c8bbacc95e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-20 08:46:53 +00:00
Love Hörnquist Åstrand
c228c7bc0a Fix sasl-regexp, from Howard Chu.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22698 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-20 08:46: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