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
Love Hörnquist Åstrand
c8c4c730ac
(krb5_rd_req_ctx): If there is a PAC, verify its server signature.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19679 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 11:23:34 +00:00
Love Hörnquist Åstrand
4e6e594fc6
export some more pac functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19670 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 11:00:52 +00:00
Love Hörnquist Åstrand
36ea4e609e
typedef for krb5_pac.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19640 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-03 18:51:52 +00:00
Love Hörnquist Åstrand
7c9b64e51f
add krb5_HEADERS to build_HEADERZ
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-03 15:29:27 +00:00
Love Hörnquist Åstrand
0fac70e6c9
Support all keyed checksum types.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19624 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-03 15:28:00 +00:00
Love Hörnquist Åstrand
7b7419e387
(krb5_pac_get_types): gettypes.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19622 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-02 12:51:43 +00:00
Love Hörnquist Åstrand
150c794a7c
add comments, fix pac_get_types test
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19621 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-02 12:49:11 +00:00
Love Hörnquist Åstrand
a253f3b44c
test krb5_pac_get_types
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19620 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-02 12:43:11 +00:00
Love Hörnquist Åstrand
38d93c3716
Add KRB5_KRBHST_KCA.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19619 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-02 12:22:01 +00:00
Love Hörnquist Åstrand
c8c330e163
test Add/remove pac buffer functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19618 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-02 12:19:35 +00:00
Love Hörnquist Åstrand
7a2f244192
Add/remove pac buffer functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-02 12:18:20 +00:00
Love Hörnquist Åstrand
4f4857b16c
sprinkle const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19616 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-02 09:32:26 +00:00
Love Hörnquist Åstrand
cb206ff3bf
rename DCHECK to CHECK
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19613 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-02 09:05:44 +00:00
Love Hörnquist Åstrand
7997ff4d88
add krb5_ticket_get_endtime
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 20:49:18 +00:00
Love Hörnquist Åstrand
78e28de132
Document krb5_ticket_get_endtime
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19543 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 20:48:50 +00:00
Love Hörnquist Åstrand
efcaa7828a
(krb5_ntlm_rep_get_sessionkey): return value is krb5_error_code
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19524 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 12:30:05 +00:00
Love Hörnquist Åstrand
874a6ccd1c
(_krb5_mk_req_internal): use md5 for des-cbc-md4 and des-cbc-md5.
...
This is for (older) windows that will be unhappy anything older.
From Inna Bort-Shatsky
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19511 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-27 12:07:22 +00:00
Love Hörnquist Åstrand
9c6454c235
Add krb5_ntlm_init_get_targetinfo.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 13:19:56 +00:00
Love Hörnquist Åstrand
89e1ccd48f
Add sessionkey accessor functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19460 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 19:46:17 +00:00
Love Hörnquist Åstrand
38434e8f3c
update (c)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19395 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-17 22:53:39 +00:00
Love Hörnquist Åstrand
782482710f
(krb5_ret_principal): Fix a bug in the malloc failure part, noticed by
...
Arnaud Lacombe in NetBSD coverity scan.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19394 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-17 22:49:37 +00:00
Love Hörnquist Åstrand
4a924643eb
(fcc_get_cache_next): avoid const warning.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19379 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 21:35:52 +00:00
Love Hörnquist Åstrand
164fc106aa
add forward declaration for krb5_ntlm
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19355 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 19:17:32 +00:00
Love Hörnquist Åstrand
df50d13193
API to authenticate ntlm requests.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19354 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 19:16:32 +00:00
Love Hörnquist Åstrand
0c000a62f7
Support "iteration" of file credential caches by giving the user back
...
the default file credential cache and only that.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19349 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 16:48:28 +00:00
Love Hörnquist Åstrand
8e567798a7
Expand the default root for some of the cc type names.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19348 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 16:46:51 +00:00
Love Hörnquist Åstrand
7bf56b0e3f
(free_paid): free the krb5_data structure too.
...
Bug report from Stefan Metzmacher.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19331 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-14 10:49:56 +00:00
Love Hörnquist Åstrand
90832c9d52
sprinkle more _krb5_pk_copy_error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-08 02:48:09 +00:00
Love Hörnquist Åstrand
76a79be26e
Copy more hx509 error strings to krb5 error strings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-08 02:30:20 +00:00