Commit Graph

3258 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
0afc3bb28a (krb5_c_keylengths): rename.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19065 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-17 22:06:07 +00:00
Love Hörnquist Åstrand
3719ad0089 (krb5_c_keylength): mit changed the api, deal.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19064 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-17 22:04:54 +00:00
Love Hörnquist Åstrand
4e200bc2d5 Add krb5_enctype_keybits.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-17 21:58:47 +00:00
Love Hörnquist Åstrand
073e1a2052 (fill_zeros): stop using MIN.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19029 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 17:45:27 +00:00
Love Hörnquist Åstrand
cfb4caacee Use NOTHERE.H5L.SE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19013 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:28:43 +00:00
Love Hörnquist Åstrand
e53d2e7d9a Use 127.0.0.2 to make us slightly diffrent from the rest of the world.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19012 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:11:39 +00:00
Love Hörnquist Åstrand
feca1fb894 Fill in hints for picky getaddrinfo()s.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19010 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:06:08 +00:00
Love Hörnquist Åstrand
8ba76d2ba8 Set sin_len if it exists.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19009 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:01:03 +00:00
Love Hörnquist Åstrand
35ac6d4651 Use plugin for the other realm locate types too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19008 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 04:46:37 +00:00
Love Hörnquist Åstrand
1bbf3e6917 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19006 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 21:42:18 +00:00
Love Hörnquist Åstrand
f6b6bb58e3 Add plugin types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19005 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 21:40:19 +00:00
Love Hörnquist Åstrand
ec21016cde Read config file and allow multi directories.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 21:39:43 +00:00
Love Hörnquist Åstrand
c16f8fcd4e Add plugin api.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19001 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 20:06:52 +00:00
Love Hörnquist Åstrand
51bdcbd088 Use the resolve plugin interface.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19000 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 20:05:20 +00:00
Love Hörnquist Åstrand
b28a485ef3 Test resolve plugin
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18999 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 19:10:11 +00:00