Commit Graph

3515 Commits

Author SHA1 Message Date
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
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
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
cc4333b758 remove cvs ignore files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 03:09:59 +00:00
Love Hörnquist Åstrand
9df9f6a9da revert 21003
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 01:53:10 +00:00
Love Hörnquist Åstrand
12df8538af use "roken.h" consitantly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21003 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 01:42:05 +00:00
Love Hörnquist Åstrand
bf02504f31 Require the raw key have the correct size and do away with the
minsize.  Minsize was a thing that originated from RC2, but since RC2
is done in the x509/cms subsystem now there is no need to keep that
around.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 20:05:50 +00:00
Love Hörnquist Åstrand
e9ae5054cd plug memory leaks.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20846 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 14:33:11 +00:00
Love Hörnquist Åstrand
6559e67d3c plug memory leaks.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 14:31:16 +00:00
Love Hörnquist Åstrand
e73b363f90 plug memory leaks.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 14:31:01 +00:00
Love Hörnquist Åstrand
2cd729eb0f plug memory leak.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20843 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 14:23:20 +00:00
Love Hörnquist Åstrand
be1bf762ec plug memory leaks.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20842 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 14:21:32 +00:00
Love Hörnquist Åstrand
edf7a96c36 add error 68, WRONG_REALM
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20760 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 03:24:49 +00:00
Love Hörnquist Åstrand
9fe3a53f6d Allow turning off sending trustedCertifiers in the request.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-31 20:58:07 +00:00
Love Hörnquist Åstrand
20686d11f3 Add missing REVOCATION_STATUS_UNAVAILABLE and fix error message for CLIENT_NAME_MISMATCH.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20741 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-31 17:13:58 +00:00
Love Hörnquist Åstrand
fa4a82327c Spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20695 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 14:09:09 +00:00
Love Hörnquist Åstrand
07aeb14a0c document krb5_crypto_overhead
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20685 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-16 18:49:27 +00:00
Love Hörnquist Åstrand
5e5c20fe90 (krb5_crypto_overhead): return static overhead of encryption.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20683 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-16 18:28:27 +00:00
Love Hörnquist Åstrand
03f9908752 (krb5_get_init_creds_opt_get_error): correct the order of the
arguments.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20541 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-23 12:19:14 +00:00
Love Hörnquist Åstrand
9ff76dfc2e (krb5_store_creds_tag): use session.keytype to determine if to send
the session-key, for the second place in the function.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20529 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-22 14:28:19 +00:00
Love Hörnquist Åstrand
98566cd711 (krb5_cc_retrieve_cred): document what to free 'cred' with.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-21 22:06:34 +00:00
Love Hörnquist Åstrand
d0b82b20dd (krb5_cc_retrieve_cred): document what to free 'cred' with.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-21 22:03:56 +00:00
Love Hörnquist Åstrand
24fb3ec44b (krb5_store_creds_tag): use session.keytype to determine if to send
the session-key.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20498 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-21 21:44:44 +00:00
Love Hörnquist Åstrand
7ba2b2006c rename des to hcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 08:29:05 +00:00
Love Hörnquist Åstrand
d76d52e01d (_krb5_get_init_creds_opt_free_pkinit): remember to free memory too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20433 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-19 13:20:18 +00:00
Love Hörnquist Åstrand
2af2d575a3 (pk_rd_pa_reply_dh): free content-type when done.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-19 13:13:51 +00:00
Love Hörnquist Åstrand
542712c702 spelling, from Jason McIntyre
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20340 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 17:57:00 +00:00
Love Hörnquist Åstrand
e2571a3178 indent.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20307 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:16:28 +00:00
Love Hörnquist Åstrand
25fc4d469a Set error string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:15:55 +00:00
Love Hörnquist Åstrand
f523c291f5 clear error strings
.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:15:30 +00:00
Love Hörnquist Åstrand
1dda5d8b5f clear error string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:15:05 +00:00
Love Hörnquist Åstrand
aa3ae69d42 Set error strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:14:26 +00:00
Love Hörnquist Åstrand
a115c5af61 add PAC_CONSTRAINED_DELEGATION
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:14:06 +00:00
Love Hörnquist Åstrand
6348a6849a Tell what principal we are not finding for all KRB5_CC_NOTFOUND.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:13:31 +00:00
Love Hörnquist Åstrand
bebd317964 Create the PAC element in the same order as w2k3,
maybe there's some broken code in windows which relies
on this... From metze.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20275 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 01:42:47 +00:00
Love Hörnquist Åstrand
ba05993ea4 document new options.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-18 10:41:10 +00:00
Love Hörnquist Åstrand
638b61f46d use the new merged flags field.
(krb5_get_init_creds_opt_set_win2k): new function, turn on all w2k compat flags.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20263 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-18 00:33:52 +00:00
Love Hörnquist Åstrand
4446053e7b use the new merged flags field.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20262 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-18 00:33:01 +00:00
Love Hörnquist Åstrand
72099f51d8 merge all flags into one entity
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20261 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-18 00:32:22 +00:00
Love Hörnquist Åstrand
194c39c3d9 Small fixes, from David Love.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20259 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 23:49:54 +00:00
Love Hörnquist Åstrand
a6b9228d3a (find_pa_data): if there is no list, there is no entry.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 11:30:00 +00:00
Love Hörnquist Åstrand
50ad0697d8 add KRB5_KU_CANONICALIZED_NAMES.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:09:57 +00:00
Love Hörnquist Åstrand
3d3e828726 Verify client referral data.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20244 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:08:04 +00:00