Commit Graph

1210 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
41d74d6529 Use line continuation for line in hprop.8 manual page. The line is
too wide and is cropped in some formats.
From Jeremy C. Reed.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-28 05:14:21 +00:00
Love Hörnquist Åstrand
fd676a5005 Patch from Shi Hosoda to add back windows XP SP2 compat that we have
manged to break. This patch make it possible to use Samba4 with
Windows XP SP2, way cool!

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-22 06:32:28 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +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
7fe1196c96 finish support for libintl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:13:13 +00:00
Love Hörnquist Åstrand
b76fb8a16b kadmin/hprop -> hprop/hostname
From Harald Barth

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-28 13:28:51 +00:00
Love Hörnquist Åstrand
858ef6867a Use ALLOC to allocate memory, from harald barth.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23709 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-28 12:57:47 +00:00
Love Hörnquist Åstrand
810f4208da pass down HDB_F_CANON to hdb_fetch for tgs req too, use the server name in the request.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-25 11:11:34 +00:00
Love Hörnquist Åstrand
4d1a05fb4b Drop this keytype code, there is only enctypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23669 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-25 02:32:03 +00:00
Love Hörnquist Åstrand
80e3051b41 make excpetion for known weak types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23599 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:11:29 +00:00
Love Hörnquist Åstrand
b5910292fc make excpetion for known weak types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23598 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:11:19 +00:00
Love Hörnquist Åstrand
4d41802863 set ret before use.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23596 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:10:58 +00:00
Love Hörnquist Åstrand
817f43af29 set ret before use.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:10:48 +00:00
Love Hörnquist Åstrand
e9fe84bf9c catch errors from _kdc_do_version4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23498 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:43 +00:00
Love Hörnquist Åstrand
e974eca971 remove #if 0'ed code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23497 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:28 +00:00
Love Hörnquist Åstrand
83b2e2cae0 set error code and catch them.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23496 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:19 +00:00
Love Hörnquist Åstrand
7fcd266fdd use krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 04:32:32 +00:00
Love Hörnquist Åstrand
31d0e293f6 drop time to verify context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:23:16 +00:00
Love Hörnquist Åstrand
5c7bcf2941 Pass in time to hx509_cms_verify_signed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23264 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:23:04 +00:00
Love Hörnquist Åstrand
8c4af647bb Use DES_set_key_unchecked().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 18:51:17 +00:00
Love Hörnquist Åstrand
4250b0a980 Rename the pkinit type enum.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22918 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:17:11 +00:00
Love Hörnquist Åstrand
55d84fe955 Drop krb5_pk_identity and rename constants to match global header.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:16:48 +00:00
Love Hörnquist Åstrand
1f5b3f1f1d Pick up krb5_pk_identity from krb5_locl.h.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22907 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:16:28 +00:00
Love Hörnquist Åstrand
10df17bf54 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:56 +00:00
Love Hörnquist Åstrand
0205e1ebe3 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22870 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:28 +00:00
Ken'ichi Kamada
921fee6f9c use the correct server name for logging.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-28 08:21:23 +00:00
Love Hörnquist Åstrand
4ac470d33e Match name in ClientCanonicalizedNames with -10
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:08:24 +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
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
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
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
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
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
8888b88979 kdc: Provide extended error information in AS-REP error replies.
This change utilizes the addition of the e_data parameter to the
   windc_plugin in the heimdal code to pass extended information back
   to the client.  The extended information is provided in an e-data
   block as part of the kerberos error message, and allows the client
   to determine which specific error condition occurred.

From Andrew Kroeger and Andrew Bartlet


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22693 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-19 08:57:49 +00:00
Love Hörnquist Åstrand
6541305988 Adapt to hx509_env changes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22686 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-14 21:29:37 +00:00
Love Hörnquist Åstrand
d2387e033f drop CHECK_SYMBOLS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22489 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-21 11:49:06 +00:00
Love Hörnquist Åstrand
9a0cc41169 Update link.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22434 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-14 09:21:37 +00:00
Love Hörnquist Åstrand
8eafb063b6 Log probe message, add NTLM_TARGET_DOMAIN to the type2 message.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22374 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-28 18:36:52 +00:00
Love Hörnquist Åstrand
577565901a Use hdb_db_dir().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-09 06:01:05 +00:00
Love Hörnquist Åstrand
7499adde08 Use hdb_db_dir().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22248 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 23:52:12 +00:00
Love Hörnquist Åstrand
0b448d3e3d add KDC_LOG_FILE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 23:49:41 +00:00
Love Hörnquist Åstrand
4ae3998346 Use hdb_default_db().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 23:48:52 +00:00
Love Hörnquist Åstrand
c89e9af8ec Use hdb_db_dir().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22244 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 23:47:42 +00:00
Love Hörnquist Åstrand
71ec989edb Adapt to hx509 changes, use hdb_db_dir().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22243 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 23:39:30 +00:00
Love Hörnquist Åstrand
0db626f9e3 Implement supportedMechs request.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 19:58:55 +00:00
Love Hörnquist Åstrand
5fed824f37 its vs it\'s etc. From Bjorn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-14 20:04:50 +00:00
Love Hörnquist Åstrand
be8c8799d8 Should pass different key usage constants depending on whether or not
optional sub-session key was passed by the client for the check of
authorization data. The constant is used to derive "specific key" and
its values are specified in 7.5.1 of RFC4120.

Patch from Andy Polyakov.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22068 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-14 19:56:15 +00:00
Love Hörnquist Åstrand
86e58a1b60 Don't send auth data in referrals, microsoft clients have started to
not like that. Thanks to Andy Polyakov for excellent research.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-14 19:49:24 +00:00
Love Hörnquist Åstrand
6f7200b830 Adding same enctype is enough one time. From Andy Polyakov and Bjorn Sandell.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22016 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-24 20:41:20 +00:00