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
Love Hörnquist Åstrand
487bcca4e2
Use strcspn to remove \n from fgets result. Prompted by change by Ray
...
Lai of OpenBSD via Björn Sandell.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 23:36:36 +00:00
Love Hörnquist Åstrand
31c6637aca
(plugin_get_hosts): be more paranoid and pass in a NULLed plugin list
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-30 17:23:08 +00:00
Love Hörnquist Åstrand
64c7c462af
add more pkinit options.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-29 19:19:45 +00:00
Love Hörnquist Åstrand
247bb1c42b
Store what PK-INIT type we used to know reply to expect, this avoids
...
overwriting the real PK-INIT error from just a failed requeat with a
Windows PK-INIT error (that always failes).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19191 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-29 11:47:29 +00:00
Love Hörnquist Åstrand
997dc9aebb
Allow selection of minium bits from the DH parameters.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 04:00:35 +00:00
Love Hörnquist Åstrand
2f4615fcd2
(build_auth_pack): set supportedCMSTypes.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 13:46:04 +00:00
Love Hörnquist Åstrand
0e4b620131
Pass down hx509_peer_info.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 18:09:59 +00:00
Love Hörnquist Åstrand
ddfe47e5e1
Update hx509_cms_create_signed_1.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 15:50:48 +00:00
Love Hörnquist Åstrand
629ef1ca09
Set the large_msg_size to 1400, lets not fragment packets and avoid
...
stupid linklayers that doesn't allow fragmented packets (unix dgram
sockets on Mac OS X)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19107 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-24 14:24:33 +00:00
Love Hörnquist Åstrand
03d0a158b8
(_krb5_pk_create_sign): stuff down the users certs in the pool to make
...
sure a path is returned, without this proxy certificates wont work.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19097 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-23 18:13:47 +00:00
Love Hörnquist Åstrand
976c93b3e6
(krb5_get_init_creds_opt_free): allow free on NULL.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-23 16:27:36 +00:00
Love Hörnquist Åstrand
473532da2a
update (c)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19088 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-21 08:08:46 +00:00
Love Hörnquist Åstrand
9db7608772
(krb5_get_warn_dest): return warn_dest from krb5_context
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19086 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-21 08:06:40 +00:00
Love Hörnquist Åstrand
7f09ad0520
document krb5_[gs]et_warn_dest
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19085 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-21 07:55:20 +00:00
Love Hörnquist Åstrand
213255c32a
Drop KRB5_KU_TGS_IMPERSONATE.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19082 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-21 05:15:36 +00:00
Love Hörnquist Åstrand
b9624a871d
Use KRB5_KU_OTHER_CKSUM for the impersonate checksum.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19081 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-21 05:14:43 +00:00
Love Hörnquist Åstrand
7624883fb4
Make krb5_get_init_creds_opt_free take a context argument.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19080 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-20 18:41:57 +00:00
Love Hörnquist Åstrand
ece5f9603e
Make krb5_get_init_creds_opt_free take a context argument.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-20 18:12:41 +00:00
Love Hörnquist Åstrand
5b7701514e
Make all pkinit options prefixed with pkinit_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19069 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-17 22:27:01 +00:00
Love Hörnquist Åstrand
61623b636c
Make app pkinit options prefixed with pkinit_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19068 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-17 22:20:25 +00:00
Love Hörnquist Åstrand
e299db5039
(krb5_c_keylengths): make compile again.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-17 22:17:46 +00:00
Love Hörnquist Åstrand
20a7bd7a29
Update krb5_c_keylengths
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-17 22:09:25 +00:00