Commit Graph

914 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
c0e634f6c4 document --detach and --disable-DES
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13454 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 17:10:14 +00:00
Love Hörnquist Åstrand
15af520f64 check if enctype is disabled before using it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13453 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 17:06:01 +00:00
Love Hörnquist Åstrand
60e6ffb478 ifdef protect label that is only uesd with pkinit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13451 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 16:40:58 +00:00
Love Hörnquist Åstrand
9fe5dfb67c on strange tcp error; log local port number and socket type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13449 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 14:54:49 +00:00
Love Hörnquist Åstrand
6da4e2989e adapt to rename of oid_cmp to heim_oid_cmp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13399 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-22 17:31:53 +00:00
Love Hörnquist Åstrand
9dac88f093 update error codes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13396 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-20 21:42:34 +00:00
Love Hörnquist Åstrand
d85519e16d s/heim_big_integer/heim_integer/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13355 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-13 17:08:29 +00:00
Love Hörnquist Åstrand
e78b654fc1 adapt to asn1 bignum code, use HEIM_PKINIT errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13354 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-13 16:53:25 +00:00
Love Hörnquist Åstrand
8e42e1a3f4 add support for KDC side of DH PKINIT
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-26 00:44:54 +00:00
Love Hörnquist Åstrand
7afa1d35ae clean up
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 06:18:23 +00:00
Love Hörnquist Åstrand
e10d6ca29d print an error and turn of pkinit if openssl failed to load
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 04:36:06 +00:00
Love Hörnquist Åstrand
d8c5b10b7d (kdc_SOURCES): += pkinit.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 04:31:21 +00:00
Love Hörnquist Åstrand
0612f36a98 read pkinit (pki-muble) configuration options
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 04:30:13 +00:00
Love Hörnquist Åstrand
a81af4edb5 add pkinit support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 04:19:43 +00:00
Love Hörnquist Åstrand
962356b65c add prototypes for pkinit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 04:15:55 +00:00
Love Hörnquist Åstrand
c055731b98 PKINIT patch from Daniel Kouril and Petr Holub, I removed the
dependency on valicert asn1 parser, remove smartcard and globus
support (for now). Work to be done on this: DH support, Globus
support, Smartcard support, windows support (MS implements -09 of the
draft), make it conform to the new draft


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 04:13:46 +00:00
Love Hörnquist Åstrand
4e48b5550c (tgs_rep2): don't free ticket, krb5_free_ticket does that now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13103 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-09 00:58:03 +00:00
Johan Danielsson
ed1bc5a928 make sure that the server realm and the krbtgt second component are
identical; get rpath from the capaths section


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13072 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-22 18:48:20 +00:00
Johan Danielsson
3cedc78b77 document recent changes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-22 18:45:56 +00:00
Johan Danielsson
1461770557 change logic for when to check transited policy to a tri-state model
involving per principal flags (to be implemented)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13070 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-22 18:22:24 +00:00
Johan Danielsson
3ddd0c11e7 change enforce_transited_policy to a tri-state variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13069 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-22 18:19:11 +00:00
Johan Danielsson
fb3910cc5a (fix_transited_encoding): always print cross-realm information
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13045 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-21 16:56:32 +00:00
Love Hörnquist Åstrand
d18d7cea84 (fix_transited_encoding): set transited type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13043 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-21 14:53:02 +00:00
Johan Danielsson
74f0967ff7 document enforce-transited-policy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13038 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-21 11:22:52 +00:00
Johan Danielsson
357e4592b9 always check transited policy if flag set either globally or on
principal


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13037 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-21 11:16:43 +00:00
Johan Danielsson
8505970b33 add flag to always check transited policy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13036 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-21 11:10:44 +00:00
Johan Danielsson
5d138af639 (fix_transited_encoding): also verify with policy, unless asked not to
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13027 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-20 16:45:28 +00:00
Love Hörnquist Åstrand
dfbc07b034 instead of the cryptic "Request:" use "HTTP request:"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13010 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-14 11:02:33 +00:00
Love Hörnquist Åstrand
0da0d41d6a (do_getticket): if times data is shorter then 8 byte, request is mailformed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-06 20:39:28 +00:00
Love Hörnquist Åstrand
4ba454b93f (do_authenticate): if request length is less then 8, its a bad request
and fail. Pointed out by Marco Foglia <marco@foglia.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-06 20:22:07 +00:00
Love Hörnquist Åstrand
0540f13b86 prefix all struct HDB elements with hdb_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-19 00:25:35 +00:00
Love Hörnquist Åstrand
1d36859dc0 (only_older_enctype_p): check request if the client only supports old
enctypes, before it used the database


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 02:01:02 +00:00
Love Hörnquist Åstrand
5d190295aa add context argument to krb5_get_init_creds_opt_alloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-08 15:28:20 +00:00
Love Hörnquist Åstrand
b6b6ef861a use new DES_ api
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 11:48:53 +00:00
Love Hörnquist Åstrand
54fc57ccb5 s/des_read_pw_string/UI_UTIL_read_pw_string/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:37:03 +00:00
Love Hörnquist Åstrand
3779c3d612 use DES_KEY_SZ instead of sizeof(des_block)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 03:12:32 +00:00
Love Hörnquist Åstrand
d1bbbff72f use krb5_get_init_creds_opt_alloc/krb5_get_init_creds_opt_free
compare a uint32_t with 0xffffffff instead of -1


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12735 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:17:09 +00:00
Love Hörnquist Åstrand
378d92a693 (main): avoid const warning by using a extra variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12722 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 03:01:58 +00:00
Love Hörnquist Åstrand
1eb16a5ad2 (handle_tcp): handle recvfrom returning 0 (connection closed)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12619 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 20:36:07 +00:00
Love Hörnquist Åstrand
2a54d3bcb1 (grow_descr): increment the size after we succeed to allocate the space
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 20:15:39 +00:00
Love Hörnquist Åstrand
fca60360bd (configure): remove only set variable 'e'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12570 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 17:10:56 +00:00
Love Hörnquist Åstrand
c997f14ac2 (init_socket): sockaddr size argument to krb5_addr2sockaddr is a
krb5_addr2sockaddr *


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 17:08:17 +00:00
Love Hörnquist Åstrand
814929f329 (as_rep): remove usused variable
(tgs_rep2): don't use a temporary ret-variable, ret is reset later


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12568 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 16:50:20 +00:00
Love Hörnquist Åstrand
dab18270d4 (*): handle krb5_unparse_name returning non-zero
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-16 15:59:37 +00:00
Love Hörnquist Åstrand
5b1231ff3a add support for KRB5_PADATA_ETYPE_INFO2
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12512 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 18:56:59 +00:00
Love Hörnquist Åstrand
23489a2cc1 fix mdoc problem, from netbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12277 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 21:49:33 +00:00
Love Hörnquist Åstrand
262b7dcbf4 (v4_prop_dump): limit strings length, from openbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-28 11:35:55 +00:00
Love Hörnquist Åstrand
75252da59e s/strcat/strlcat/, inspired from openbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12042 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-16 15:46:32 +00:00
Love Hörnquist Åstrand
b27ea1a8b6 fix some more memory leaks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12019 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-15 11:07:39 +00:00
Love Hörnquist Åstrand
62fb84849a s/kerberos/Kerberos/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-06 17:53:05 +00:00