Commit Graph

1165 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
c66de52520 indent, remove dup prototypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15533 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 05:27:23 +00:00
Love Hörnquist Åstrand
7a3fc5e663 Don't pollute namespace, generate public headerfile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15532 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 01:54:49 +00:00
Love Hörnquist Åstrand
d918604239 there is no export script, not pretend there is
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15530 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 01:08:11 +00:00
Love Hörnquist Åstrand
7132a9b084 Merge in the libkdc/kdc configuration split from Andrew Bartlet <abartlet@samba.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15529 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 01:03:35 +00:00
Love Hörnquist Åstrand
68af583951 Add logging of all timestamps in AS-REQ and TGS-REQ, for auditing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15523 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-29 00:41:57 +00:00
Love Hörnquist Åstrand
532cfd87e6 (as_req): print the supported encryption types so its possible to know
what clients to update.
(find_rpath): return const char * and update callers.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15522 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-28 23:06:13 +00:00
Love Hörnquist Åstrand
389b210409 Always include <krb5-v4compat.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15516 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-24 14:59:08 +00:00
Love Hörnquist Åstrand
7dd1049a46 log the kaserver requests, avoid shadowing variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15511 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-23 13:56:09 +00:00
Love Hörnquist Åstrand
a7e9127a62 rename optind to optidx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15488 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 05:35:35 +00:00
Love Hörnquist Åstrand
236628582f rename variable password to avoid shadowing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 05:34:43 +00:00
Love Hörnquist Åstrand
f790e9089a (make_etype_info2_entry): NUL terminate the string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-15 11:34:53 +00:00
Love Hörnquist Åstrand
5e9e3d8374 replace strndup with inline copy, free data on failure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15394 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-15 11:22:33 +00:00
Love Hörnquist Åstrand
76f6061241 (tgs_rep2): rename one of the tkey to uukey to avoid shadow warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15387 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-15 02:36:03 +00:00
Love Hörnquist Åstrand
1207596131 (tgs_rep2): rename loop to nloop to avoid shadow warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15386 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-15 02:31:56 +00:00
Love Hörnquist Åstrand
54f8d95f72 (main): catch KRB5_CONFIG_BADFORMAT from krb5_init_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15369 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-14 00:14:43 +00:00
Love Hörnquist Åstrand
10cedfe58e (pk_principal_from_X509): remember to free KRB5PrincipalName
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15365 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-11 00:42:20 +00:00
Love Hörnquist Åstrand
a36c1df4bd init kvno to please gcc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15361 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-08 18:11:49 +00:00
Love Hörnquist Åstrand
3212d821d6 (do_authenticate): check return value from unparse_auth_args
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15359 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-08 17:58:09 +00:00
Love Hörnquist Åstrand
683bbc3149 (mit_prop_dump): cast argument to krb5_parse_principal to avoid warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15346 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-02 09:55:43 +00:00
Love Hörnquist Åstrand
6e8d98b9be rename KRB5_TL_MOD_PRINC to mit_KRB5_TL_MOD_PRINC to hint its a
constant originating from mit codebase


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15344 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-02 08:16:17 +00:00
Johan Danielsson
80973980d5 rename sendlength to prependlength (which hopefully better represents
its purpose), and change type to krb5_boolean


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15317 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 20:56:18 +00:00
Love Hörnquist Åstrand
5f764ae99f (tgs_make_reply): copy ok-as-delegate flag from server entry to
encrypted ticket flags


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 20:28:19 +00:00
Johan Danielsson
e3f74b008e punctuation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 11:23:09 +00:00
Johan Danielsson
a837b83e57 log signal causing exit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 11:19:56 +00:00
Johan Danielsson
8b6244fb52 (sigterm) set exit_flag to signal causing exit; (main) trap SIGXCPU
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 11:19:23 +00:00
Love Hörnquist Åstrand
af6eb0f463 Don't test HAVE_DAEMON since roken supplies it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-23 17:39:35 +00:00
Love Hörnquist Åstrand
a3c6124483 handle pkinit-9, pkinit-19, and pkinit-25 enckey, still no DH
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15116 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-10 19:40:39 +00:00
Love Hörnquist Åstrand
2c65e2f431 (as_rep): search for pkinit-9, pkinit-19, and pkinit-25 pa-data,
return empty pkinit pa-data in the PREAUTH_REQUIRED krb-error


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-10 19:37:44 +00:00
Love Hörnquist Åstrand
2446dccfda pass a NULL prompter data to _krb5_pk_load_openssl_id
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15041 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 16:15:45 +00:00
Love Hörnquist Åstrand
bb2ca4b24b use the newly generated units function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 18:20:50 +00:00
Love Hörnquist Åstrand
b90ccb10ca don't include kerberos 4 headers here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14917 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 13:49:00 +00:00
Love Hörnquist Åstrand
90930940d1 include kerberos 4 headers here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14916 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 13:48:37 +00:00
Love Hörnquist Åstrand
af99f6c862 add kaserver support independ of having krb4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14915 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 13:47:43 +00:00
Love Hörnquist Åstrand
9f607cb090 add kaserver support unconditionally, make kdc only fail to start when
there are no v4-realm configure and krb4/kaserver is turned on


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14914 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 13:46:48 +00:00
Love Hörnquist Åstrand
c747d3b0c9 always add kaserver
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14913 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 13:45:31 +00:00
Love Hörnquist Åstrand
d1d73cd17f Use the new Kerberos 4 functions in libkrb5 and so kaserver support is
always compiled in (still default disabled)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 13:45:18 +00:00
Love Hörnquist Åstrand
6caae3694e make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14901 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-23 20:11:55 +00:00
Love Hörnquist Åstrand
2eb8ce2e5f Use the new Kerberos 4 functions in libkrb5 and so kerberos 4 is
always compiled in (still default disabled)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-23 19:57:56 +00:00
Love Hörnquist Åstrand
e54c17af6b move all Kerberos 4 related stuff to one place
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-23 19:52:51 +00:00
Love Hörnquist Åstrand
f9078126dd spell succeeded correctly, From Sean Chittenden
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14878 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-21 13:51:34 +00:00
Love Hörnquist Åstrand
c50b57d65d AUTHENTICATE and AUTHENTICATE_V2 is almost the same, and clients
(klog) can deal with that the kaserver returns the same thing for both


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 19:02:29 +00:00
Johan Danielsson
5a1b9bec7a (do_version4): fix stupid error in previous
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 11:01:02 +00:00
Johan Danielsson
ffa0f87aa6 (do_version4): check client and server max_life
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14714 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-01 15:53:18 +00:00
Johan Danielsson
441228af89 (do_getticket): check client max_life
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14713 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-01 15:47:40 +00:00
Love Hörnquist Åstrand
38ed3f09f9 AES is enabled by default, remove ifdefs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14652 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-17 00:28:48 +00:00
Love Hörnquist Åstrand
01f52d48e6 use generated oid's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14628 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-09 15:49:23 +00:00
Love Hörnquist Åstrand
2b0b4dc044 update to the asn1 structures used in -25's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-08 22:17:46 +00:00
Luke Howard
4fdebcb8b9 Don't crash when logging no server etype support if client == NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14523 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-24 10:34:21 +00:00
Love Hörnquist Åstrand
bc686b4cbf s/random_key/random_key_flag/, From Dave Love <d.love@dl.ac.uk>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14515 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-17 13:40:08 +00:00
Love Hörnquist Åstrand
b0767711ce make build, for real this time
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14511 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-09 20:33:00 +00:00