Love Hörnquist Åstrand
|
357ca89f2d
|
(_kdc_db_fetch4): pass down flags though krb5_425_conv_principal_ext2
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17315 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-27 11:32:13 +00:00 |
|
Love Hörnquist Åstrand
|
83d3254750
|
(_kdc_db_fetch): Break out the that we request from principal from the
entry and pass it in as a seprate argument.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17308 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-27 11:05:25 +00:00 |
|
Love Hörnquist Åstrand
|
61be59e8c7
|
make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17290 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-26 18:53:52 +00:00 |
|
Love Hörnquist Åstrand
|
459f0648f1
|
Add option [kdc]pki-allow-proxy-certificate=bool to allow using proxy certificate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17287 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-26 18:42:48 +00:00 |
|
Love Hörnquist Åstrand
|
d7bc1efbc8
|
(_kdc_pk_check_client): Use hx509_cert_get_base_subject to get subject
name of the certificate, needed for proxy certificates.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17285 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-26 18:36:22 +00:00 |
|
Love Hörnquist Åstrand
|
f591c22c1f
|
Now that find_keys speaks for it self, remove extra logging.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17265 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-26 15:27:25 +00:00 |
|
Love Hörnquist Åstrand
|
f9d85a2590
|
(find_keys): add client_name and server_name argument and use them,
and adapt callers.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17264 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-26 15:22:57 +00:00 |
|
Love Hörnquist Åstrand
|
2edcff9efa
|
Catch the case where the client sends no encryption types or no pa-types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17232 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-25 12:23:04 +00:00 |
|
Love Hörnquist Åstrand
|
313fa917d5
|
Adapt to change in hx509_cms_create_signed_1.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17171 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-22 12:10:16 +00:00 |
|
Love Hörnquist Åstrand
|
1b73708904
|
(_kdc_pk_rd_padata): use hx509_cms_unwrap_ContentInfo.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17117 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-20 19:55:09 +00:00 |
|
Love Hörnquist Åstrand
|
538658a4e5
|
unbreak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17113 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-20 18:17:16 +00:00 |
|
Love Hörnquist Åstrand
|
2ad7b45365
|
Handle diffrences between libhcrypto and libcrypto.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17111 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-20 18:15:48 +00:00 |
|
Love Hörnquist Åstrand
|
45fd105a52
|
Rename pki-chain to pki-pool to match rest of code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17106 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-20 17:00:18 +00:00 |
|
Love Hörnquist Åstrand
|
6815452550
|
Added certificate revoke information from configuration file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17054 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-12 13:21:46 +00:00 |
|
Love Hörnquist Åstrand
|
1082824558
|
(v4_prop_dump): close FILE handle f when done.
Fixes Coverity NetBSD CID#1956
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17023 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-09 17:41:47 +00:00 |
|
Love Hörnquist Åstrand
|
8f297fdb5c
|
(_kdc_do_524): Handle memory allocation failure
Coverity, NetBSD CID#2752
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17015 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-07 22:12:28 +00:00 |
|
Love Hörnquist Åstrand
|
5800a9f897
|
(main): make sure type doesn't need to be set
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17012 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-07 21:41:14 +00:00 |
|
Love Hörnquist Åstrand
|
e3a5114857
|
(mit_prop_dump): close fd when done processing
Coverity NetBSD CID#1955
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17011 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-07 18:53:45 +00:00 |
|
Love Hörnquist Åstrand
|
39fbe46845
|
(tokey): catch warnings, free memory after use.
Based on Coverity NetBSD CID#1894
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17010 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-07 18:50:40 +00:00 |
|
Love Hörnquist Åstrand
|
54f35ca241
|
(main): remove dead code.
Coverity NetBSD CID#633
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17008 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-07 14:00:57 +00:00 |
|
Love Hörnquist Åstrand
|
b6fdc26556
|
(check_addresses): treat netbios as no addresses
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16949 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-02 01:54:38 +00:00 |
|
Love Hörnquist Åstrand
|
2211af38b6
|
_kdc_check_flags takes hdb_entry_ex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16948 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-02 01:54:37 +00:00 |
|
Love Hörnquist Åstrand
|
b3f8381a4d
|
(_kdc_check_flags): make it take hdb_entry_ex to avoid ?:'s at callers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16947 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-04-02 01:52:32 +00:00 |
|
Love Hörnquist Åstrand
|
945efb8a96
|
Add pool of certificates to help certificate path building for clients
sending incomplete path in the signedData.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16854 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-03-28 19:57:25 +00:00 |
|
Love Hörnquist Åstrand
|
cd6acf1200
|
Allow passing in related certificates used to build the chain.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16850 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-03-28 04:38:14 +00:00 |
|
Love Hörnquist Åstrand
|
905242765a
|
(log_patype): Add case for KRB5_PADATA_PA_PK_OCSP_RESPONSE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16844 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-03-27 22:54:50 +00:00 |
|
Love Hörnquist Åstrand
|
56057ad91b
|
(pk_mk_pa_reply_dh): encode the DH public key with asn1 wrapping
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16822 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-03-27 02:27:59 +00:00 |
|
Love Hörnquist Åstrand
|
b6350decc0
|
(_kdc_pk_check_client): More logging.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16821 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-03-27 02:15:12 +00:00 |
|
Love Hörnquist Åstrand
|
f024392e81
|
Switch to hx509.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16814 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-03-26 23:55:17 +00:00 |
|
Love Hörnquist Åstrand
|
137d218e79
|
(log_patypes): log the patypes requested by the client
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16804 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-03-24 22:50:02 +00:00 |
|
Love Hörnquist Åstrand
|
5290184954
|
update to new paChecksum definition, use hdb_entry_ex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16733 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-02-13 11:48:21 +00:00 |
|
Love Hörnquist Åstrand
|
ca3745e9a4
|
Fix spelling of "Kungliga Tekniska Högskolan".
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16665 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-01-27 13:30:57 +00:00 |
|
Love Hörnquist Åstrand
|
6d3861991a
|
(_kdc_db_fetch): use calloc to allocate the entry, from Andrew Bartlet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16420 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2006-01-01 23:17:16 +00:00 |
|
Love Hörnquist Åstrand
|
5a7da8cf52
|
(tgs_make_reply): less const on hdb_entry_ex to make samba happy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16410 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-12-15 20:26:31 +00:00 |
|
Love Hörnquist Åstrand
|
40386c602d
|
(tgs_rep2): also print the principal for which the enctype was missing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16407 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-12-14 12:17:58 +00:00 |
|
Love Hörnquist Åstrand
|
ddddd59d94
|
Finish up transition from hdb_entry to hdb_entry_ex.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16402 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-12-13 19:44:27 +00:00 |
|
Love Hörnquist Åstrand
|
83c3fb4698
|
Finish up transition from hdb_entry with hdb_entry_ex.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16401 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-12-13 19:10:44 +00:00 |
|
Love Hörnquist Åstrand
|
0c2369acd0
|
Wrap hdb_entry with hdb_entry_ex, patch originally from Andrew Bartlet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16378 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-12-12 12:40:12 +00:00 |
|
Love Hörnquist Åstrand
|
294b954cdd
|
(tgs_make_reply): there are no such things a keytypes any more, just
use enctypes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16374 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-12-12 12:25:33 +00:00 |
|
Love Hörnquist Åstrand
|
d2a057331a
|
Remove private prototypes and instead include <kdc-private.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16373 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-12-12 12:23:33 +00:00 |
|
Love Hörnquist Åstrand
|
7dd4709d04
|
Build kdc-private.h and depend on it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16372 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-12-12 12:17:48 +00:00 |
|
Love Hörnquist Åstrand
|
96ff4f214f
|
(configure): wrap line
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16371 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-12-12 12:14:09 +00:00 |
|
Love Hörnquist Åstrand
|
1e5120ac02
|
(_kdc_as_rep): add comment when we send ETYPE-INFO and ETYPE-INFO2,
from Andrew Bartlett
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16298 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-11-28 20:33:57 +00:00 |
|
Love Hörnquist Åstrand
|
b5204f4584
|
Print the time the principal expired, based on patch from Andrew Bartlett.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16287 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-11-08 03:32:25 +00:00 |
|
Love Hörnquist Åstrand
|
911c099056
|
Remove leftover pkinit-19 bits.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16212 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-10-21 17:48:30 +00:00 |
|
Love Hörnquist Åstrand
|
3bfded2697
|
(get_dh_param): Pass down config so this function can check pkinit_dh_min_bits
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16210 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-10-21 17:14:19 +00:00 |
|
Love Hörnquist Åstrand
|
b2698d9dc7
|
Fill in pkinit_dh_min_bits from configuration file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16209 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-10-21 17:11:59 +00:00 |
|
Love Hörnquist Åstrand
|
2e2d62a9e5
|
Add pkinit_dh_min_bits to krb5_kdc_configuration.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16208 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-10-21 17:11:21 +00:00 |
|
Love Hörnquist Åstrand
|
1ef128fbff
|
Removing PK-INIT-19 support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16141 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-10-07 11:00:05 +00:00 |
|
Love Hörnquist Åstrand
|
b1fffa7079
|
Save DH group name and print it on success.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16139 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-10-07 10:40:00 +00:00 |
|