Commit Graph

15155 Commits

Author SHA1 Message Date
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 78a5547f69 Print out the three last commands that is needed to make a release.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15871 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 08:57:52 +00:00
Love Hörnquist Åstrand 21f1feed9e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15867 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-10 10:08:01 +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 bc0fb267bd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15865 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-10 08:41:19 +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 0e7425528b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15862 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-09 21:34:51 +00:00
Love Hörnquist Åstrand e6cee493ed (_kdc_as_rep): preserve the error code in the ENC-TS case.
From: Andrew Bartlett <abartlet@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-09 21:34:36 +00:00
Love Hörnquist Åstrand 07e7b59fab (tgs_rep2): only needs to log "Failed to verify authenticator" once,
its already done by tgs_check_authenticator().


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-09 21:25:40 +00:00
Love Hörnquist Åstrand d63614824b Indent strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-09 21:18:09 +00:00
Love Hörnquist Åstrand ee163963c6 (log_timestamp): avoid shadow warnings
From: Andrew Bartlett <abartlet@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15858 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-09 21:14:25 +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 73b0fc1428 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15855 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-09 09:31:52 +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 235d18238c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15846 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-08 13:37:24 +00:00
Love Hörnquist Åstrand cac19c86e7 Fix printing of /etc/issue{,.net}.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-08 13:37:04 +00:00
Love Hörnquist Åstrand 44c8c17c29 make writenet take const void * and size_t, abort if size it too large
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-08 13:36:16 +00:00
Love Hörnquist Åstrand 33ec7be97f Fix ansi c warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15843 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-08 13:35:39 +00:00
Love Hörnquist Åstrand da3079056e no need to typecast argument to writenet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15842 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-08 13:35:04 +00:00
Love Hörnquist Åstrand 671b1a284f make writenet take const void * and size_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15841 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-08 13:34:26 +00:00
Love Hörnquist Åstrand efa4a809cb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15840 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-08 12:32:12 +00:00
Love Hörnquist Åstrand 9db7cfbc36 (do_login): only do krb4_get_afs_tokens if we have done v4
authentication or done a 5to4 conversion of tickets. This is to avoid
delays on a realm that only support Kerberos 5 and drop Kerberos 4
requests.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15839 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-08 12:31:57 +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 29991a7841 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-03 07:30:59 +00:00
Love Hörnquist Åstrand d39d44a88c Add <sys/types.h>, OpenSSL 0.9.8 needs it for size_t.
From: Quanah Gibson-Mount <quanah@stanford.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-03 07:30:41 +00:00
Love Hörnquist Åstrand 732c640c3a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15832 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-29 07:18:48 +00:00
Love Hörnquist Åstrand cb993f6688 (kdc_LDADD): add LDADD
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-29 07:11:10 +00:00
Love Hörnquist Åstrand c6f1d06058 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 20:29:55 +00:00
Love Hörnquist Åstrand 299df4981f (_kdc_as_rep): log what enctypes was using in ENC-TS preauth, both for
failure and success.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15829 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 20:29:39 +00:00
Love Hörnquist Åstrand 80e3a7bc53 Use the _krb5_krb_life_to_time function from libkrb5 instead of
including our own here too.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15828 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 14:13:53 +00:00
Love Hörnquist Åstrand 7e5e3fbc97 indent printf strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15827 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 14:11:11 +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