Commit Graph

7691 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
9e2b81fa10 Fix the version number for fcc-mit-ticketflags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 13:32:11 +00:00
Love Hörnquist Åstrand
a20802f00e Revert previous, I was confused.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15927 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 13:31:19 +00:00
Love Hörnquist Åstrand
d79c64be70 Document fcc-mit-ticketflags in COMPATIBILITY section.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15925 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 10:16:28 +00:00
Love Hörnquist Åstrand
d48840959b (fcc_store_cred): default to MIT style ticket flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15924 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 10:11:47 +00:00
Love Hörnquist Åstrand
329cb0079e Update prototype for krb5_create_checksum.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15921 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 09:01:22 +00:00
Love Hörnquist Åstrand
f7aeb827d3 Implement verification of asChecksum, now client side code is using
-27 of the pk-init draft.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15919 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 08:53:00 +00:00
Love Hörnquist Åstrand
406caf3df5 HDB extensions access glue.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 20:49:31 +00:00
Love Hörnquist Åstrand
a28f99c821 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 20:48:44 +00:00
Love Hörnquist Åstrand
1246a22076 Implement KADM5_LAST_PWD_CHANGE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15909 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 20:43:43 +00:00
Love Hörnquist Åstrand
d1f924e1ac x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 14:10:04 +00:00
Love Hörnquist Åstrand
432fc6a9b3 Add more options that was missing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15901 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 14:09:38 +00:00
Love Hörnquist Åstrand
c118d0562a Allocation is done on CONTEXT tags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 14:07:21 +00:00
Love Hörnquist Åstrand
496cd1f19a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15889 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:40:56 +00:00
Love Hörnquist Åstrand
75a6af0377 Set and clear password where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15888 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:40:35 +00:00
Love Hörnquist Åstrand
0b99ddc9b2 Operation modifies tl_data.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15887 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:38:58 +00:00
Love Hörnquist Åstrand
4c01f36c26 (kadm5_log_replay_modify): Check return values of malloc(), replace
all extensions.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15886 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:38:24 +00:00
Love Hörnquist Åstrand
8669df7f34 Make BAD_TL_TYPE error more helpful.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15885 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:31:42 +00:00
Love Hörnquist Åstrand
dad0c94ffe Expose KADM5_TL_DATA options to the client.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15884 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:29:54 +00:00
Love Hörnquist Åstrand
eb232f60ee Merge in KADM5_TL_DATA in the database.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:28:22 +00:00
Love Hörnquist Åstrand
753fb8e651 Operations modify extensions, mark that with TL_DATA.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15882 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:22:36 +00:00
Love Hörnquist Åstrand
a2dc9e2463 Add more TL types (password and extension).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15881 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:20:28 +00:00
Love Hörnquist Åstrand
1dd8eea802 Build extensions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:18:53 +00:00
Love Hörnquist Åstrand
6a53664484 Print extensions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:18:09 +00:00
Love Hörnquist Åstrand
e5d72971c2 Add error "Entry contains unknown mandatory extension".
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15878 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:17:22 +00:00
Love Hörnquist Åstrand
475b015e3c Update (c).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:16:44 +00:00
Love Hörnquist Åstrand
848bf1b529 Update interface version (and indent).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15876 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:16:29 +00:00
Love Hörnquist Åstrand
90f0c3cff0 Add support for HDB-extension.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 13:15:44 +00:00
Love Hörnquist Åstrand
10abcd73b4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15874 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 10:47:35 +00:00
Love Hörnquist Åstrand
4171c2f2a7 avoid warnings, update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15873 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 10:47:25 +00:00
Love Hörnquist Åstrand
c482cd681f rename optind to optidx to avoid shadow warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 10:44:43 +00:00
Love Hörnquist Åstrand
bf6c904f6c add tests vectors from "Liqiang(Larry) Zhu" <lzhu@windows.microsoft.com>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15866 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-10 10:07:21 +00:00
Love Hörnquist Åstrand
067af5ca8e Expose the crypto operations on the master key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15864 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-10 08:41:03 +00:00
Love Hörnquist Åstrand
4f3db39a0d even more bits, not done yet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-10 07:03:54 +00:00
Love Hörnquist Åstrand
a4b7d96497 Add krb5_verify_opt_alloc and krb5_verify_opt_free.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-09 16:32:38 +00:00
Love Hörnquist Åstrand
4e9c85d51c Document krb5_verify_opt_alloc and krb5_verify_opt_free.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-09 16:29:31 +00:00
Love Hörnquist Åstrand
8443e8221a (DB_open): catch errors from the d->open calls instead of letting them
slip though to d->cursor. Bug repport from Andrew Bartlett <abartlet@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15853 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-09 09:28:39 +00:00
Love Hörnquist Åstrand
6a76da5c65 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-05 09:31:54 +00:00
Love Hörnquist Åstrand
dbdabdf1f9 sprinkel more const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-05 09:31:35 +00:00
Love Hörnquist Åstrand
e62baa6844 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15836 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-05 09:06:47 +00:00
Love Hörnquist Åstrand
c1dfa1a518 Make return value of gai_strerror const to match SUSv3.
Prompted by Stefan Metzmacher change to Samba.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15835 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-05 09:06:29 +00:00
Love Hörnquist Åstrand
f3862df669 (hdb_unseal_key_mkey): try to unseal key with keyusage 0 in case the
key was encrypted with MIT Kerberos (old patch from Johan)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15826 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 14:06:16 +00:00
Love Hörnquist Åstrand
24112b1082 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15825 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 08:04:39 +00:00
Love Hörnquist Åstrand
97749b61d7 Use --certificate= for enveloped/unenvelope.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 07:41:03 +00:00
Love Hörnquist Åstrand
7b67cbffb6 Use --certificate= for enveloped/unenvelope.
Clean up.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15823 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 07:40:33 +00:00
Love Hörnquist Åstrand
72e891c830 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15822 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 00:01:26 +00:00
Love Hörnquist Åstrand
e7e008d515 add EnvelopeData tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15821 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:53:41 +00:00
Love Hörnquist Åstrand
1664de4c46 use id-envelopedData for ContentInfo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15820 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:52:50 +00:00
Love Hörnquist Åstrand
b49ccf6f28 add contentinfo wrapping for create/unwrap enveloped data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15819 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:49:18 +00:00
Love Hörnquist Åstrand
696002ebd3 regen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15818 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:48:22 +00:00
Love Hörnquist Åstrand
bb5f88e0f6 add enveloped data (aes128)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:48:05 +00:00