Commit Graph

2600 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
d697ff390d drop krb5_{checksum,enctype}_is_disabled
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 21:12:10 +00:00
Love Hörnquist Åstrand
68572cd597 drop krb5_enctype_is_disabled, more text about krb5_enctype_valid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14490 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 21:10:48 +00:00
Love Hörnquist Åstrand
5dc0e19c59 drop krb5_{checksum,enctype}_isdisabled
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14489 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 21:06:04 +00:00
Love Hörnquist Åstrand
8ea83fdc64 drop krb5_checksum_is_disabled, krb5_checksum_valid handles that just fine
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14488 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 20:52:19 +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
69a18af8ac (krb5_parse_address): filter out dup addresses from getaddrinfo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 17:36:11 +00:00
Love Hörnquist Åstrand
299a0c0048 document krb5_generate_subkey_extended
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14473 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 09:52:29 +00:00
Love Hörnquist Åstrand
5021545677 (man_MANS) += krb5_is_thread_safe.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14472 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 09:47:42 +00:00
Love Hörnquist Åstrand
8b728dab95 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14471 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 09:47:02 +00:00
Love Hörnquist Åstrand
802103911a (krb5_is_thread_safe): return TRUE is the library was compiled with
multithreading support. If not, application must global lock the
library, it it uses threads that call kerberos functions at the same
time.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 09:41:36 +00:00
Luke Howard
191db4ab4f support ETYPE_ARCFOUR_HMAC_MD5_56
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14468 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 06:31:01 +00:00
Luke Howard
913c74766b add KRB5_KU_PA_SERVER_REFERRAL_DATA
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14467 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 06:21:23 +00:00
Luke Howard
6c18d8d314 mutex should be destroyed last in krb5_free_context()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 05:48:44 +00:00
Luke Howard
7b29e8dddc Remove redundant KRB5_LIB_FUNCTION
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14465 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 05:40:59 +00:00
Luke Howard
5bef70bc26 Set *subkey to NULL if key generation fails
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14455 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 02:39:21 +00:00
Luke Howard
8dba6bea66 support for enctype negotiation
(client sends EtypeList in Authenticator authz data)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14453 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 02:34:53 +00:00
Luke Howard
52594dcc54 use krb5_generate_subkey_extended()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14452 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 02:34:08 +00:00
Love Hörnquist Åstrand
223f4ceb07 (change_password_loop): on failing to find a kdc, set result_code to
KRB5_KPASSWD_HARDERROR


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14440 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-04 09:39:45 +00:00
Love Hörnquist Åstrand
bca8559b7f (CHECK_SYMBOLS): add heim_ and pkcs7_ for now (used in pkinit)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14434 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-30 11:05:16 +00:00
Love Hörnquist Åstrand
2787566547 add CHECK_SYMBOLS, approve of:
-com_err -version krb5_ _krb5_ __heimdal krb524_ krb4_fkt_ops


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14427 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-29 20:36:51 +00:00
Love Hörnquist Åstrand
69b55bfa0b use private version of principalname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14423 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-29 18:56:43 +00:00
Love Hörnquist Åstrand
113d96e4d3 make principalname functions private
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14422 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-29 18:54:15 +00:00
Love Hörnquist Åstrand
31eff0c364 add key usage for server referrals
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14421 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-29 18:52:51 +00:00
Love Hörnquist Åstrand
57f3997abe make default_v4_name_convert static
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14419 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-29 01:54:54 +00:00
Love Hörnquist Åstrand
64f52007a7 make procs static
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14418 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-29 01:53:34 +00:00
Love Hörnquist Åstrand
bc190e1f9c make lots of crypto related variables static
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14417 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-29 01:49:45 +00:00
Love Hörnquist Åstrand
1beace5465 make default_acc_name static
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14416 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-29 01:48:20 +00:00
Love Hörnquist Åstrand
0043daaaa3 NetBSD 2.99.11 (any maybe 2.1) just needs pthread.h, threadlib is dead
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14409 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-18 16:03:38 +00:00
Love Hörnquist Åstrand
0a5afe8034 spelling, from openbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14375 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-08 17:52:41 +00:00
Love Hörnquist Åstrand
899e9ce83d (krb5_free_context): clear error string before destroying mutex
(krb5_init_context): don't call krb5_free_context before there is a
mutex initialized


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14358 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-30 07:02:01 +00:00
Love Hörnquist Åstrand
00fd1e3851 (krb5_get_in_cred): clear pointer after freeing data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14353 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-13 21:08:17 +00:00
Love Hörnquist Åstrand
ef868c62a1 (change_password): handle old_options being NULL
From Guenther Deschner on samba-technical.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14351 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-13 20:41:54 +00:00
Love Hörnquist Åstrand
75912c3d7f add more text describing the krb5_get_init_creds functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14349 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-12 01:56:56 +00:00
Love Hörnquist Åstrand
993e8c9eea make krb5_get_init_creds_keytab work again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14347 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-11 17:50:43 +00:00
Love Hörnquist Åstrand
24c3bcd18f document some more functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14342 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-09 21:19:16 +00:00
Love Hörnquist Åstrand
735376035c add description for opt_init, opt_alloc, opt_free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14340 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-09 18:55:40 +00:00
Love Hörnquist Åstrand
3e732e53ea unexport krb5_get_init_creds_opt_free_pkinit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14339 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-09 18:52:03 +00:00
Love Hörnquist Åstrand
fbd7b2787a fold init_init_creds_ctx into get_init_creds_common
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14338 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-09 16:10:57 +00:00
Love Hörnquist Åstrand
fb7b2586bc (_krb5_get_init_creds_opt_copy): if the in options NULL, just make a clean copy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14337 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-09 15:30:34 +00:00
Love Hörnquist Åstrand
d466d67e0e (krb5_rd_rep): free ap_rep message earlier so we don't leak it on error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14333 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-01 09:04:40 +00:00
Love Hörnquist Åstrand
4414774aa6 unbreak 2b entry
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14330 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-31 22:32:27 +00:00
Love Hörnquist Åstrand
6554996344 (make_cred_from_ccred): the address isn't a sockaddr but rather a
kerberos address, deal with that.
Based on bug report from Jakob Schlyter <jakob@rfc.se>.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-31 14:10:46 +00:00
Love Hörnquist Åstrand
c56917439e match new error names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14315 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-14 15:31:25 +00:00
Love Hörnquist Åstrand
42ab8cc9aa make error messages sane again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14314 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-14 15:30:29 +00:00
Love Hörnquist Åstrand
2011850a53 use KRB5_KT_BADNAME
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 20:10:09 +00:00
Love Hörnquist Åstrand
a8f507a1ac sync with mit krb5_err.et (require major version bump)
add KRB5_DELTAT_BADFORMAT


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14310 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 19:14:42 +00:00
Love Hörnquist Åstrand
1f5182ef5d time defaults to "s"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14309 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 18:13:16 +00:00
Love Hörnquist Åstrand
8311097ae4 (krb5_string_to_deltat): default to "s" again, MIT's behavior was
actually that it failed to parse the number (and thus used the
default). Even better, ticket_lifetime (that was a consumer supposed a
of the interface) was documented but never implemented, when it was
implemented, people configuraiton files started to fail.
Also, use KRB5_DELTAT_BADFORMAT as a failure code.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 17:57:11 +00:00
Love Hörnquist Åstrand
6c3270b0eb add enctype_des3_cbc_none_cms
add cms padding for rc2
don't to padding for blocksize 1


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-12 21:23:48 +00:00
Love Hörnquist Åstrand
aa710fc27f free openssl engine
deal with RecipientIdentifier -> CMSIdentifier and heim_any -> name change
improve error messages


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-06 22:38:21 +00:00