Commit Graph

6107 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
7fa222d32b (unparse_name): make sure there are space for a NUL, set *name to NULL
when there is a failure (so caller can't get hold of a freed pointer)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12524 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-13 09:16:59 +00:00
Love Hörnquist Åstrand
22c4cb4b88 remove duplicate manual, from cjep@netbsd.org
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-26 17:05:42 +00:00
Love Hörnquist Åstrand
32a39134cf indent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12518 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-25 11:33:29 +00:00
Love Hörnquist Åstrand
f837df3b5a (krb5_cc_set_default_name): only read KRB5CCNAME when not suid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12516 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-25 08:26:36 +00:00
Love Hörnquist Åstrand
b411ada0ec x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12515 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-24 14:49:55 +00:00
Love Hörnquist Åstrand
835c5e70a6 (receive_everything): switch close and rename
From: Alf Wachsmann <alfw@SLAC.Stanford.EDU>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-24 14:49:45 +00:00
Love Hörnquist Åstrand
52eb0189cb (read_v4_entry): the des key is 8 bytes, use a char array instead of des_cblock
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-24 13:43:06 +00:00
Love Hörnquist Åstrand
d73655dcc7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12511 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 13:06:38 +00:00
Love Hörnquist Åstrand
78d1c49923 (hmac): make it return an error when out of memory, update callsites
to either return error or use krb5_abortx
(krb5_hmac): expose hmac


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 13:06:24 +00:00
Love Hörnquist Åstrand
84e7684333 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 13:01:25 +00:00
Love Hörnquist Åstrand
7dfedf540d add aes support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12508 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 13:00:42 +00:00
Love Hörnquist Åstrand
1e21591d32 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 09:35:44 +00:00
Love Hörnquist Åstrand
700e971e5b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 09:13:06 +00:00
Love Hörnquist Åstrand
753ef4229a always include v4 symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12505 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 09:12:38 +00:00
Love Hörnquist Åstrand
4283ca3eee provide dummy krb_ function to there is no need to bump major
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 09:11:12 +00:00
Love Hörnquist Åstrand
9caa168b54 (krb5_keyblock_get_enctype): return enctype of keyblock
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12502 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 21:40:17 +00:00
Love Hörnquist Åstrand
cc0a5435fe (man_MANS): += krb5_keyblock.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12501 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 21:27:06 +00:00
Love Hörnquist Åstrand
c8cb88a62c some information about krb5_keyblock and related functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12500 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 21:25:22 +00:00
Love Hörnquist Åstrand
cef811fcb6 make the non-debug version of the mutex macros "use" the "mutex"
integer so the compile wont complain about defined unused variables


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12499 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 21:10:50 +00:00
Love Hörnquist Åstrand
3f2394ad11 make thread local storage macros take a "return" argument so no
functions need to be created for the no-pthread case


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12498 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:57:58 +00:00
Love Hörnquist Åstrand
79442df848 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12497 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:55:04 +00:00
Love Hörnquist Åstrand
32752ea144 (repl_mutual): don't set kerberos error where there was no kerberos error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12496 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:53:43 +00:00
Love Hörnquist Åstrand
59a9e85922 Add destruction/creation prototypes and structure for the thread specific storage.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:52:32 +00:00
Love Hörnquist Åstrand
ba2d66fbd0 use thread specific storage to set/get the kerberos error message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:51:31 +00:00
Love Hörnquist Åstrand
2e732d2ef1 Provide locking around the creation of the global krb5_context. Add
destruction/creation functions for the thread specific storage that
the error string handling is using.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:50:11 +00:00
Love Hörnquist Åstrand
df6940ae2b only enable netbsd thread support if ENABLE_PTHREAD_SUPPORT is defined (so it can be disabled)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12492 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:13:12 +00:00
Love Hörnquist Åstrand
e2a4344ba6 adding RWLOCKS and [sg]etspecific
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12490 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:00:06 +00:00
Love Hörnquist Åstrand
ee4a8728d5 (gen_files): add asn1_KerberosString and sort
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12486 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 17:52:29 +00:00