Commit Graph

6035 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
1026a01bec x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12641 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 20:26:26 +00:00
Love Hörnquist Åstrand
bb7b50eba4 encap/decap now takes a oid
if the enctype/keytype is arcfour, return error
add hook for cfx


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12640 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 20:06:04 +00:00
Love Hörnquist Åstrand
c8cf8c9880 encap/decap now takes a oid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12639 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 20:02:49 +00:00
Love Hörnquist Åstrand
a339bd774f include cfx.h if we need it
lifetime is a OM_uint32, depend on gssapi interface
add all new encap/decap functions


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12638 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 20:01:45 +00:00
Love Hörnquist Åstrand
b50861a481 add decap functions that doesn't take the token type
also make all decap function take the oid mech that they should use


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12637 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 19:57:43 +00:00
Love Hörnquist Åstrand
0fed18d468 add encap functions that doesn't take the token type
also make all encap function take the oid mech that they should use


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12636 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 19:56:51 +00:00
Love Hörnquist Åstrand
7c53e8d156 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 11:30:04 +00:00
Love Hörnquist Åstrand
575766e5e7 (elem_insert): fix a off by one index counter
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12628 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 11:28:46 +00:00
Love Hörnquist Åstrand
61413db01f (arcfour_checksum_p): return true when is arcfour, not when its not
pointed out by Luke Howard


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12627 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 11:09:19 +00:00
Love Hörnquist Åstrand
934f0c3d3d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 01:27:40 +00:00
Love Hörnquist Åstrand
43ee62bf0b (gss_inquire_cred): handle cred_handle beeing GSS_C_NO_CREDENTIAL and
use the default cred then.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12624 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 01:27:02 +00:00
Love Hörnquist Åstrand
2ff6bd0665 document: krb5_crypto_getconfoundersize, krb5_crypto_getblocksize
krb5_crypto_getenctype, krb5_crypto_getpadsize


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12622 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-24 03:40:33 +00:00
Love Hörnquist Åstrand
d250fe4e0c (krb5_crypto_getpadsize, krb5_crypto_getconfoundersize): added
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12621 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-24 03:32:48 +00:00
Love Hörnquist Åstrand
28a86465f4 text about when krb5_crypto_get_checksum_type is useful
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12615 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 11:49:38 +00:00
Love Hörnquist Åstrand
7df97da057 document krb5_crypto_get_checksum_type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12614 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 11:37:17 +00:00
Love Hörnquist Åstrand
71bc13390a (krb5_crypto_get_checksum_type): fix format string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12613 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 11:36:00 +00:00
Love Hörnquist Åstrand
2eaeba1f93 add krb5_crypto_get_checksum_type
From: Luke Howard <lukeh@PADL


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12612 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 11:33:53 +00:00
Love Hörnquist Åstrand
751a7769ef don't prefix the pretty printer with heim_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12611 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 10:07:43 +00:00
Love Hörnquist Åstrand
cbba49a837 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12610 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 10:02:38 +00:00
Love Hörnquist Åstrand
a5d3c4f398 s/UTF8String/heim_utf8_string/ in generated code
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12609 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 09:59:27 +00:00
Love Hörnquist Åstrand
7c8f875744 XXX don't use "plain" pthread support on netbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12605 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-20 20:11:58 +00:00
Johan Danielsson
e368fa330b set free'd poiners to NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12593 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-20 16:18:49 +00:00
Love Hörnquist Åstrand
c2680f2373 Do the arcfour checksum mapping for krb5_create_checksum and
krb5_verify_checksum, From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12590 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-20 15:09:39 +00:00
Love Hörnquist Åstrand
600ed30996 break out extensions and document gsskrb5_register_acceptor_identity
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-19 00:30:13 +00:00
Love Hörnquist Åstrand
027455cbf0 check krb5_prepend_config_files_default and krb5_prepend_config_files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12584 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-18 05:14:38 +00:00
Love Hörnquist Åstrand
bec7df49db add krb5_prepend_config_files and krb5_prepend_config_files_default
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-18 05:09:05 +00:00
Love Hörnquist Åstrand
b868cd3c45 (print_time): time is returned in seconds from now, not unix time
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12582 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 23:02:53 +00:00
Love Hörnquist Åstrand
8eb2b0ceea (check_compat): avoid leaking principal when finding a match
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12579 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 19:01:42 +00:00
Love Hörnquist Åstrand
d84816fed2 sa_size argument to krb5_addr2sockaddr is a krb5_socklen_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12578 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 18:57:37 +00:00
Love Hörnquist Åstrand
8f776af389 (gss_acquire_cred): 4th argument to gss_test_oid_set_member is a int
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12577 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 18:55:49 +00:00
Love Hörnquist Åstrand
b6609c3d3b (read_master_mit): krb5_ret_int16 takes a int16_t as argument
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 18:44:08 +00:00
Love Hörnquist Åstrand
d8825a3a75 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 18:38:26 +00:00
Love Hörnquist Åstrand
1d1e4bc424 (_kadm5_set_keys_randomly): remove dup return
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 18:38:16 +00:00
Love Hörnquist Åstrand
3946ead25c (main): make sure current_version is initialized
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 18:35:49 +00:00
Love Hörnquist Åstrand
97a9cc6936 please lint (and me)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 18:22:22 +00:00
Love Hörnquist Åstrand
3b71428beb these function will be deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12566 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 16:27:15 +00:00
Love Hörnquist Åstrand
e29f5d55cd man_MANS += krb5_get_init_creds.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 16:23:17 +00:00
Love Hörnquist Åstrand
d7d3939e93 begining of documentation of krb5_get_init_creds
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12563 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 16:21:36 +00:00
Love Hörnquist Åstrand
bc32f47208 (krb5_get_in_tkt): for compatibility with with the mit implemtation,
don't free `creds' argument when done, its up the the caller to do
that, also allow a NULL ccache.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12561 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 15:52:01 +00:00
Love Hörnquist Åstrand
3ee67f793f document tgs_require_subkey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-16 20:00:28 +00:00
Love Hörnquist Åstrand
b9b8d2152d (CHECK_LOCAL): set to no-check-local
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-16 18:32:18 +00:00
Love Hörnquist Åstrand
77d774d5f4 remove stuff more stuff that sneeked in with last commit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12553 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-16 18:09:55 +00:00
Love Hörnquist Åstrand
d69795d2cf remove trance of generate tests files, its not really for consumption yet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12552 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-16 18:06:33 +00:00
Love Hörnquist Åstrand
802923ad69 split generated source from non generated source we make-proto.pl can
generate prototypes for non generate-source only (make-proto.pl dies
on asn1compile's .c files)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-16 17:57:18 +00:00
Love Hörnquist Åstrand
1a22071676 (init_tgs_req): make generation of subkey optional on configuration parameter
[realms]realm={tgs_require_subkey=bool}
defaults to off. The RFC1510 weakly defines the correct behavior,
so old DCE secd apparently required the subkey to be there, and MS will
use it when its there. But the request isn't encrypted in the subkey,
so you get to choose if you want to talk to a MS mdc or a old DCE secd.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-16 16:25:14 +00:00
Love Hörnquist Åstrand
61391e5aa1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-15 16:40:14 +00:00
Love Hörnquist Åstrand
599c39e257 use default_keys for the both random keys and password derived keys if
its defined


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12543 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-15 16:38:28 +00:00
Love Hörnquist Åstrand
05cd3d1a7f (unparse_name): len can't be zero, so, don't check for that
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12536 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-15 14:28:48 +00:00
Johan Danielsson
e167924d17 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12528 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-15 12:28:53 +00:00
Johan Danielsson
f95d7b2034 manpage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12527 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-15 12:28:14 +00:00