Commit Graph

12355 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
bbeffa1fb5 wrap gssapi stuff with KRB5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12597 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-20 16:26:21 +00:00
Johan Danielsson
a418bf8566 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12594 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-20 16:19:24 +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
06bf50701a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12592 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-20 15:27:26 +00:00
Love Hörnquist Åstrand
d2077149b0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-20 15:09:57 +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
Johan Danielsson
44190e97a0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12589 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-19 11:39:08 +00:00
Johan Danielsson
b48ce2806b -P also with KRB5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12588 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-19 11:38:55 +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
2c3319de27 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12586 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-18 06:04:15 +00:00
Love Hörnquist Åstrand
9883b1f3e5 (main): use krb5_prepend_config_files_default, now all options in
kdc.conf is parsed, not just [kdc]key-file=


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12585 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-18 06:03:42 +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
877313e435 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12581 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 19:12:14 +00:00
Love Hörnquist Åstrand
5cff5e1802 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12580 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 19:03:15 +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
ed83d346b8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 18:24:02 +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
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
6f635f4807 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12567 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 16:27:24 +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
37ee3711ca x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12565 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 16:23:32 +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
9cd02aaa38 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 15:52:13 +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
eaffdea2a6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-16 20:00:38 +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
282d4df104 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-16 19:10:20 +00:00
Love Hörnquist Åstrand
99bd855734 Don't do local checks on xnlock, it only passes if there is a working
X11 socket, XXX should really be fixed in xnlock


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-16 19:09:40 +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
f747c3c09b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12555 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-16 18:31:56 +00:00
Love Hörnquist Åstrand
2726c24c99 don't try doing local checks if CHECK_LOCAL is set to no-check-local
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-16 18:31:50 +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
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
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