Commit Graph

3324 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand bebd317964 Create the PAC element in the same order as w2k3,
maybe there's some broken code in windows which relies
on this... From metze.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20275 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 01:42:47 +00:00
Love Hörnquist Åstrand ba05993ea4 document new options.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-18 10:41:10 +00:00
Love Hörnquist Åstrand 638b61f46d use the new merged flags field.
(krb5_get_init_creds_opt_set_win2k): new function, turn on all w2k compat flags.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20263 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-18 00:33:52 +00:00
Love Hörnquist Åstrand 4446053e7b use the new merged flags field.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20262 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-18 00:33:01 +00:00
Love Hörnquist Åstrand 72099f51d8 merge all flags into one entity
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20261 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-18 00:32:22 +00:00
Love Hörnquist Åstrand 194c39c3d9 Small fixes, from David Love.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20259 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 23:49:54 +00:00
Love Hörnquist Åstrand a6b9228d3a (find_pa_data): if there is no list, there is no entry.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 11:30:00 +00:00
Love Hörnquist Åstrand 50ad0697d8 add KRB5_KU_CANONICALIZED_NAMES.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:09:57 +00:00
Love Hörnquist Åstrand 3d3e828726 Verify client referral data.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20244 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:08:04 +00:00
Love Hörnquist Åstrand fbfd45f8e4 Use EXTRACT_TICKET_* flags, support canonicalize.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20228 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 03:33:25 +00:00
Love Hörnquist Åstrand 581074386c (krb5_get_init_creds_opt_set_canonicalize): new function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20227 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 03:32:28 +00:00
Love Hörnquist Åstrand dc0a5d69f2 Use EXTRACT_TICKET_* flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20226 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 03:31:50 +00:00
Love Hörnquist Åstrand 650997af3e Add EXTRACT_TICKET_* flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20225 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 03:29:12 +00:00
Love Hörnquist Åstrand d6658d9d2f test parsing enterprise-names.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20224 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-15 04:18:08 +00:00
Love Hörnquist Åstrand 1f4259cddc Add support for parsing enterprise-names.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20223 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-15 04:17:04 +00:00
Love Hörnquist Åstrand 203e1b7ad6 Add KRB5_PRINCIPAL_PARSE_ENTERPRISE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20222 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-15 04:12:00 +00:00
Love Hörnquist Åstrand 873b9b8aae (krb5_kt_get_entry): Use krb5_kt_get_full_name to print out the keytab name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-09 07:11:03 +00:00
Love Hörnquist Åstrand 42f57ce1d7 Plug memory leak, from Michael B Allen.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-07 20:04:15 +00:00
Love Hörnquist Åstrand 3c3cefede4 (test_uint16): unsigned ints can't be negative
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20192 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-05 23:21:03 +00:00
Love Hörnquist Åstrand f37c85ba61 pass extra flags for detached signatures.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 22:47:25 +00:00
Love Hörnquist Åstrand abd5d07295 rename hash-a1 to session key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-02 21:31:16 +00:00
Love Hörnquist Åstrand 13c8463463 New functions to send in requestResponse to KDC and get status of the request.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-01 20:18:41 +00:00
Love Hörnquist Åstrand 169143c4ff Always use the RAND_ interface now that hcrypto provides it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20062 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-30 18:02:21 +00:00
Love Hörnquist Åstrand 1446ab3800 Basic test of prf.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20043 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-23 20:38:56 +00:00
Love Hörnquist Åstrand 5214f4a50a Add MIT glue for Kerberos RFC 3961 PRF functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20042 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-23 20:37:43 +00:00
Love Hörnquist Åstrand 57d6ff40d8 Add Kerberos RFC 3961 PRF functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20041 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-23 20:37:12 +00:00
Love Hörnquist Åstrand 75ea770af6 Document krb5_data_cmp.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20040 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-23 20:35:12 +00:00
Love Hörnquist Åstrand 1856f4313f Add krb5_data_cmp.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20039 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-23 20:34:01 +00:00
Love Hörnquist Åstrand 0a66d3e486 use LIBADD_roken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 18:45:03 +00:00
Love Hörnquist Åstrand d973654fd4 fix mdoc errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19980 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 18:06:33 +00:00
Love Hörnquist Åstrand b6d9890960 update version number and remove depenency on libvers for libraries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 17:30:31 +00:00
Love Hörnquist Åstrand b965dacaf9 (krb5_sendto): zero out receive buffer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19973 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 17:19:52 +00:00
Love Hörnquist Åstrand fee0291ccb Proper sentence.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19936 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 21:47:07 +00:00
Love Hörnquist Åstrand 6a8b22c01d Revert previous, the PAC should always be verified using o->keyblock,
just check on Windows.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19935 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 20:51:58 +00:00
Love Hörnquist Åstrand 2ca0d5a961 (krb5_rd_req_ctx): The code failed to consider the enc_tkt_in_skey
case, from Douglas E. Engert.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19919 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-15 22:40:42 +00:00
Love Hörnquist Åstrand 390ccdaa8a Use more interesting data to cause more errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 10:42:54 +00:00
Love Hörnquist Åstrand aa188989ed MCC_CURSOR not used, remove.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 09:26:21 +00:00
Love Hörnquist Åstrand adca139b8a macro kcrypto_oid_enc now longer used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 08:43:13 +00:00
Love Hörnquist Åstrand d52fe4e20a (krb5_rd_safe): set length before trying to allocate data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19827 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 02:54:59 +00:00
Love Hörnquist Åstrand f35bfaa82e (krb5_pac_add_buffer): unbreak buffer handling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 02:08:01 +00:00
Love Hörnquist Åstrand a84be6224b (krb5_rd_req_ctx): Use the correct keyblock when verifying the PAC.
From Andrew Bartlett.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19792 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 12:10:17 +00:00
Love Hörnquist Åstrand d4b0d11e0a update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 17:46:01 +00:00
Love Hörnquist Åstrand 191c1f4ffa move around to code test on real PAC.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 11:25:09 +00:00
Love Hörnquist Åstrand 217a1f8aaf A tiny 2 char diffrence that make the code work for real.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 11:22:56 +00:00
Love Hörnquist Åstrand fe73261177 Test more PAC (note that the values used in this test is wrong, they
have to be fixed when the pac code is fixed).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 11:09:13 +00:00
Love Hörnquist Åstrand 69c37b6cc7 Make sure we don't sent both ENC-TS and PK-INIT pa data, no need to
expose our password protecting our PKCS12 key.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19776 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 10:44:59 +00:00
Love Hörnquist Åstrand f3b06c771d (loadlib): pass RTLD_LAZY to dlopen, without it linux is unhappy.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19764 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 15:31:01 +00:00
Love Hörnquist Åstrand b0f21e1a0e fix other place "bar" is used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19763 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 13:35:49 +00:00
Love Hörnquist Åstrand 40bb5c5e23 One of the hosts I sometimes uses is named "bar.domain", this make one
of the tests pass when it shouldn't.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 12:03:46 +00:00
Love Hörnquist Åstrand a03b0ce550 Make it possible to turn off PAC check, its default on.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 11:27:20 +00:00