Love Hörnquist Åstrand
b1fffa7079
Save DH group name and print it on success.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16139 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 10:40:00 +00:00
Love Hörnquist Åstrand
776512783d
Check dh group parameters from client.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 08:57:51 +00:00
Love Hörnquist Åstrand
388b0ffca4
More verbose PK-INIT logging.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16099 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-25 15:23:21 +00:00
Love Hörnquist Åstrand
61b1ea80de
The public DH key is encoded as an INTEGER in subjectPublicKey.
...
Don't verify OID's for now.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16098 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-25 15:18:14 +00:00
Love Hörnquist Åstrand
f498bc66ae
Implement correct DH for -27, now working with client.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16088 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-22 13:41:01 +00:00
Love Hörnquist Åstrand
28d0ef8d96
Move DH support from -19 to -27.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16086 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-21 00:40:32 +00:00
Love Hörnquist Åstrand
39b04f72d8
Support PK-INIT-27 DH (and remove -19)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16080 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-20 19:10:29 +00:00
Love Hörnquist Åstrand
d0af14e4fe
(make_etype_info2_entry): When its a afs3-salted key, use send the
...
opaque, length 1 (with content set to 0x01) in ETYPE-INFO2-ENTRY.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16077 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-19 22:01:04 +00:00
Love Hörnquist Åstrand
74c8063ed4
(make_etype_info_entry): Dont send salttype at all, use KRB5-PADATA-AFS3-SALT
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16002 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-01 11:17:41 +00:00
Love Hörnquist Åstrand
37bd48c497
(log_timestamp): endtime, not endtype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16001 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-31 06:16:45 +00:00
Love Hörnquist Åstrand
3f4ccfbc67
(fix_transited_encoding): Allow empty content of type 0 because that
...
is was Microsoft enerates in their TGT.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15993 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-27 05:46:07 +00:00
Love Hörnquist Åstrand
5731755053
Update prototype for _kdc_pk_mk_pa_reply.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15935 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-15 11:07:25 +00:00
Love Hörnquist Åstrand
aa0dc9b533
Switch over logging and comments to -27.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 09:21:40 +00:00
Love Hörnquist Åstrand
761074d9a4
(pk_mk_pa_reply_enckey): add missing break;
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15922 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 09:14:52 +00:00
Love Hörnquist Åstrand
9c7e1cc84a
Make compile.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15920 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 08:58:10 +00:00
Love Hörnquist Åstrand
f03c6de773
update prototype for _kdc_as_rep
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15918 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 08:46:39 +00:00
Love Hörnquist Åstrand
77d146c528
Pass down the request buffer to _kdc_as_rep().
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15917 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 08:25:48 +00:00
Love Hörnquist Åstrand
fa2d2092a7
(_kdc_as_rep): Pass down the request buffer to _kdc_pk_mk_pa_reply.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15916 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 08:24:50 +00:00
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