Commit Graph

1429 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
d8b8b146cc Fill in asChecksum, we now implements -27 in the KDC.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15915 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 08:17:13 +00:00
Love Hörnquist Åstrand
e6cee493ed (_kdc_as_rep): preserve the error code in the ENC-TS case.
From: Andrew Bartlett <abartlet@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-09 21:34:36 +00:00
Love Hörnquist Åstrand
07e7b59fab (tgs_rep2): only needs to log "Failed to verify authenticator" once,
its already done by tgs_check_authenticator().


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-09 21:25:40 +00:00
Love Hörnquist Åstrand
d63614824b Indent strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-09 21:18:09 +00:00
Love Hörnquist Åstrand
ee163963c6 (log_timestamp): avoid shadow warnings
From: Andrew Bartlett <abartlet@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15858 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-09 21:14:25 +00:00
Love Hörnquist Åstrand
cb993f6688 (kdc_LDADD): add LDADD
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-29 07:11:10 +00:00
Love Hörnquist Åstrand
299df4981f (_kdc_as_rep): log what enctypes was using in ENC-TS preauth, both for
failure and success.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15829 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 20:29:39 +00:00
Love Hörnquist Åstrand
80e3a7bc53 Use the _krb5_krb_life_to_time function from libkrb5 instead of
including our own here too.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15828 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 14:13:53 +00:00
Love Hörnquist Åstrand
7e5e3fbc97 indent printf strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15827 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 14:11:11 +00:00
Love Hörnquist Åstrand
7e8fdbc14d update to pkinit-27
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15760 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-26 18:37:02 +00:00
Love Hörnquist Åstrand
f78e6abe5c (de_http): sscanf takes a char *, not unsigned ditto, cast approriately
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15683 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-20 08:40:27 +00:00
Love Hörnquist Åstrand
9af7efed48 prefix pkinit symbols with _kdc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-01 15:37:24 +00:00
Love Hörnquist Åstrand
de92125f9d adapt pkinit code to libkdc split
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15540 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-01 04:42:59 +00:00
Love Hörnquist Åstrand
0dc8e6af03 Merge in the libkdc/kdc configuration split from Andrew Bartlet <abartlet@samba.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15537 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 15:33:03 +00:00
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