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
Love Hörnquist Åstrand
4ceacfa1b0
revert part (server) referals draft patch that shouldn't have gone in,
...
not tested
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-09 16:49:38 +00:00
Love Hörnquist Åstrand
2d1c1063ef
krb5_enctype_is_disabled is the same thing as krb5_enctype_valid, so
...
use the later since its older and the api doesn't really need another
entry point
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 20:43:50 +00:00
Love Hörnquist Åstrand
c5ac82a862
update (c)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14425 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-29 19:22:29 +00:00
Love Hörnquist Åstrand
6f41f39523
use private version of principalname
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-29 19:22:28 +00:00
Love Hörnquist Åstrand
fffbadb908
drop key-file, no longer used
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14408 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-17 18:36:19 +00:00
Love Hörnquist Åstrand
913d010569
default for check-ticket-addresses is TRUE
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14407 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-17 18:29:24 +00:00
Love Hörnquist Åstrand
e528f4b827
(configure): check for deprecated enforce-transited-policy is set and
...
fail if it is
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14406 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-17 18:28:08 +00:00
Love Hörnquist Åstrand
9fa56507e9
(main): catch sigpipe, we don't bother select()ing for errors
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14399 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-13 22:24:26 +00:00
Love Hörnquist Åstrand
ca0da3a363
(handle_http_tcp): handle error from write(2)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-13 22:18:38 +00:00
Love Hörnquist Åstrand
5fa7e51b68
spelling, from OpenBSD
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14381 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-10 09:44:05 +00:00
Love Hörnquist Åstrand
9467621d39
use keeps for options, From OpenBSD
...
k
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14380 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-10 09:43:07 +00:00
Love Hörnquist Åstrand
beb5cf017d
add --random-key
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14377 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-09 12:15:20 +00:00
Love Hörnquist Åstrand
42a68b1326
use keeps around options, from OpenBSD
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14372 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-08 17:36:18 +00:00
Love Hörnquist Åstrand
2f8082aad8
(find_keys): log what principal is missing enctypes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14355 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-15 02:02:30 +00:00
Love Hörnquist Åstrand
7816000f45
Make sure argument passed to ctype isn't signed char
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14322 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-30 20:55:14 +00:00
Love Hörnquist Åstrand
9f52383628
match new error names
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14317 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-14 15:49:51 +00:00
Love Hörnquist Åstrand
4feb3c1abd
use ETYPE_DES3_CBC_NONE_CMS
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-12 21:25:43 +00:00
Love Hörnquist Åstrand
1212f664ea
free openssl engine
...
deal with RecipientIdentifier -> CMSIdentifier and heim_any -> name change
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-06 22:37:46 +00:00
Love Hörnquist Åstrand
31b9ad59ba
improve error logging
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-03 16:54:11 +00:00
Love Hörnquist Åstrand
15994aadba
stop using AlgorithmIdentifierNonOpt
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-03 16:43:24 +00:00
Johan Danielsson
0624b4457e
replace INCLUDES with AM_CPPFLAGS
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 11:55:29 +00:00
Love Hörnquist Åstrand
071edda84b
(get_pa_etype_info{,2}): check for dup enctypes from the client and
...
filter them out.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14119 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-13 19:08:26 +00:00
Love Hörnquist Åstrand
af2494e41a
(pk_principal_from_X509): reverse test, makes principal in cert work
...
From: Mayur Patel <patelm4@rpi.edu >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14055 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-19 20:45:50 +00:00
Love Hörnquist Åstrand
c4ca019013
add enable_pkinit_princ_in_cert
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13992 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-24 14:35:56 +00:00
Love Hörnquist Åstrand
a26804c1a9
enable_pkinit_princ_in_cert
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13991 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-24 14:35:33 +00:00
Love Hörnquist Åstrand
4347dadb27
Check certificate for Kerberos Principal in OtherName of subjectAltName
...
Based on patch from Mayur Patel <patelm4@rpi.edu >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13990 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-24 14:34:46 +00:00
Love Hörnquist Åstrand
7fe851e011
(handle_tcp): note who is what that closed the connection on us
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13933 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-15 13:13:22 +00:00
Love Hörnquist Åstrand
713ea798a8
use krb5_enctype_to_oid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13816 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 21:21:54 +00:00
Love Hörnquist Åstrand
36033ab9d4
use krb5_crypto_set_params
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13808 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 20:08:42 +00:00
Johan Danielsson
26457b7135
replace krb5_free_creds_contents by krb5_free_cred_contents
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:25:35 +00:00