Commit Graph

20282 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
f622a16e97 Add hx509_cert_init_data and use everywhere
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21085 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 06:39:53 +00:00
Love Hörnquist Åstrand
8554301502 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21084 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 02:12:48 +00:00
Love Hörnquist Åstrand
98b5a611bd Now that KEYCHAIN:system-anchors is fast again, use that.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21083 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 02:11:19 +00:00
Love Hörnquist Åstrand
7a61e0a75f Implement trust anchor support with SecTrustCopyAnchorCertificates.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21082 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 02:09:26 +00:00
Love Hörnquist Åstrand
08ae4bf7bd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21081 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 01:06:49 +00:00
Love Hörnquist Åstrand
cadd30c594 Set ref to 1 for the new object.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21080 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 01:06:25 +00:00
Love Hörnquist Åstrand
811bb58fb6 Use ctx->gssflags for flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21079 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 00:25:25 +00:00
Love Hörnquist Åstrand
4ec842b540 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 22:46:32 +00:00
Love Hörnquist Åstrand
a8699b8454 Use KRB5_PRINCIPAL_UNPARSE_DISPLAY, this is not ment for machine consumption.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21077 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 22:42:56 +00:00
Love Hörnquist Åstrand
d8e764f7c0 Rename UNPARSE_NO_QUOTE to UNPARSE_DISPLAY.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21076 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 22:39:15 +00:00
Love Hörnquist Åstrand
6465deda9c Rename UNPARSE_NO_QUOTE to UNPARSE_DISPLAY.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21075 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 22:38:39 +00:00
Love Hörnquist Åstrand
fd2f735edd Make no-quote mean replace strange chars with space.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21074 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 22:35:10 +00:00
Love Hörnquist Åstrand
6a38e8d297 Support KRB5_PRINCIPAL_UNPARSE_NO_QUOTE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21073 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 22:23:41 +00:00
Love Hörnquist Åstrand
757bafb34b Add KRB5_PRINCIPAL_UNPARSE_NO_QUOTE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21072 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 22:21:10 +00:00
Love Hörnquist Åstrand
09a90d78cc Test quoteing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 22:20:01 +00:00
Love Hörnquist Åstrand
b966050470 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21070 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 21:12:03 +00:00
Love Hörnquist Åstrand
22eaa9a658 Fix logic for allow_default_trust_anchors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21069 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 21:04:32 +00:00
Love Hörnquist Åstrand
299c044597 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21068 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 19:31:08 +00:00
Love Hörnquist Åstrand
144b8c583c Add refcounting to keystores.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 19:30:33 +00:00
Love Hörnquist Åstrand
28ec0adc8b Change logic for default trust anchors, make it be either default
trust anchor, the user supplied, or non at all.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 19:29:56 +00:00
Love Hörnquist Åstrand
7e4d71a9bc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21065 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 18:03:52 +00:00
Love Hörnquist Åstrand
582a9d3c06 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21064 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 18:00:11 +00:00
Love Hörnquist Åstrand
18278b0bef use krb5_sendto_context to talk to the KDC.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:59:36 +00:00
Love Hörnquist Åstrand
055dd97483 (_krb5_kdc_retry): check if the whole process needs to restart or just
skip this KDC.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21062 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:58:57 +00:00
Love Hörnquist Åstrand
2511fccfe3 Use krb5_sendto_context to talk to KDC.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:56:30 +00:00
Love Hörnquist Åstrand
3fd75229b3 Add sendto hooks and opaque structure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21060 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:54:00 +00:00
Love Hörnquist Åstrand
220a01c50b Update prototype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21059 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:52:46 +00:00
Love Hörnquist Åstrand
e86b58e01c Add hooks for processing the reply from the server.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21058 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:49:37 +00:00
Love Hörnquist Åstrand
88254f2835 (krb5_rd_error): make indata const.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21057 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:22:31 +00:00
Love Hörnquist Åstrand
31199bc152 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21056 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 04:40:59 +00:00
Love Hörnquist Åstrand
c2463e48d5 Also test rename user to anther realm.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21055 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 04:40:31 +00:00
Love Hörnquist Åstrand
cc95b86400 Test renaming a user.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21052 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 04:25:56 +00:00
Love Hörnquist Åstrand
3a082feba7 Tell use what the messages.log told us.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21051 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 03:58:28 +00:00
Love Hörnquist Åstrand
6e9d640726 Some new error codes from RFC 4120.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21050 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 02:00:40 +00:00
Love Hörnquist Åstrand
09f7089390 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21049 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-11 23:11:17 +00:00
Love Hörnquist Åstrand
208080c122 Add some more as-req canon tests, add disable tgs-req tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21048 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-11 23:10:55 +00:00
Love Hörnquist Åstrand
70cc374382 Add <rand.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21047 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-10 19:11:54 +00:00
Love Hörnquist Åstrand
987fdc4154 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21046 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-10 08:04:39 +00:00
Love Hörnquist Åstrand
c269f5b1c4 Test for random device before running the tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21045 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-10 08:04:24 +00:00
Love Hörnquist Åstrand
6f5e55c30a Test for random device.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21044 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-10 08:03:13 +00:00
Love Hörnquist Åstrand
f6f9690bd1 (test_BN_rand): skip this test if there is no random device
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21043 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-10 07:57:46 +00:00
Love Hörnquist Åstrand
c855412243 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21042 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-10 06:21:34 +00:00
Love Hörnquist Åstrand
247866e443 Constify.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21041 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-10 06:21:12 +00:00
Love Hörnquist Åstrand
6b687aaa00 Constify.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21040 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-10 06:20:59 +00:00
Love Hörnquist Åstrand
4f3369a872 Check for KRB5-PADATA-PK-AS-09-BINDING. Constify.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21039 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-10 06:20:31 +00:00
Love Hörnquist Åstrand
90c8aa259d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21038 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 15:39:20 +00:00
Love Hörnquist Åstrand
8911675d8e (kdc_alloc): free memory on failure, pointed out by Rafal Malinowski.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21037 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 15:39:05 +00:00
Love Hörnquist Åstrand
b98022f088 (kdc_destroy): free context when done, pointed out by Rafal Malinowski.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21036 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 15:35:28 +00:00
Love Hörnquist Åstrand
a906ca54bf (_gss_spnego_display_name): if input_name is null, fail.
From Rafal Malinowski.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 15:32:47 +00:00
Love Hörnquist Åstrand
dfdfc2e25b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21034 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 14:49:50 +00:00