Commit Graph

865 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
9f66cd3701 Constify strings to avoid warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-23 08:30:55 +00:00
Love Hörnquist Åstrand
10abcd73b4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15874 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 10:47:35 +00:00
Love Hörnquist Åstrand
4171c2f2a7 avoid warnings, update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15873 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 10:47:25 +00:00
Love Hörnquist Åstrand
b8703f6d40 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15638 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 07:00:34 +00:00
Love Hörnquist Åstrand
33f176705d (spnego_initial): NegotiationToken encoder now that we have one with
the new asn1. compiler.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15637 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 07:00:15 +00:00
Love Hörnquist Åstrand
50215461bc the new asn.1 compiler includes the modules name in the depend file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15636 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 06:55:28 +00:00
Love Hörnquist Åstrand
a6c240e6aa x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15635 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 06:54:33 +00:00
Love Hörnquist Åstrand
69ef60cef2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15453 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 20:42:30 +00:00
Love Hörnquist Åstrand
6ff139c34a use rk_UNCONST
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15452 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 20:40:49 +00:00
Love Hörnquist Åstrand
dfc0cda3e3 rename to avoid shadowing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15451 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 20:38:49 +00:00
Love Hörnquist Åstrand
d1ecb701ab give kret in GSSAPI_KRB5_INIT a more unique name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15450 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 20:34:03 +00:00
Love Hörnquist Åstrand
8a7ce09f75 use rk_UNCONST to unconstify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15449 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 20:32:03 +00:00
Love Hörnquist Åstrand
1973620247 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15448 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 20:28:41 +00:00
Love Hörnquist Åstrand
1197dbb841 rename optind to optidx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15447 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 20:28:32 +00:00
Love Hörnquist Åstrand
ed3c91d6b1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15320 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 20:59:43 +00:00
Love Hörnquist Åstrand
e9cef62ab1 (init_auth): honor ok-as-delegate if local configuration approves
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15319 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 20:58:29 +00:00
Love Hörnquist Åstrand
34f0637d14 prototype for _gss_check_compat
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 20:53:46 +00:00
Love Hörnquist Åstrand
a2285a7802 export check_compat as _gss_check_compat
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15315 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-30 20:51:51 +00:00
Love Hörnquist Åstrand
967d1ea267 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 15:13:25 +00:00
Love Hörnquist Åstrand
9ae8bc983a Prefix Der_class with ASN1_C_ to avoid problems with system
headerfiles that pollute the name space.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15264 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 15:13:10 +00:00
Love Hörnquist Åstrand
faa3d66323 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15152 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-17 08:17:11 +00:00
Love Hörnquist Åstrand
c226c11008 (init_auth): set KRB5_AUTH_CONTEXT_CLEAR_FORWARDED_CRED (for java
compatibility), also while here, use krb5_auth_con_addflags


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-17 08:15:30 +00:00
Love Hörnquist Åstrand
9496989cb7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15097 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-06 07:14:31 +00:00
Love Hörnquist Åstrand
1e4eaef45d (_gssapi_wrap_arcfour): fix calculating the encap length
Tom Maher <tmaher@eecs.berkeley.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15096 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-06 07:13:32 +00:00
Love Hörnquist Åstrand
40fd46885a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15049 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 13:52:39 +00:00
Love Hörnquist Åstrand
c5d92319f3 (main): Call setprogname.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15045 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 13:46:39 +00:00
Love Hörnquist Åstrand
6fa21042ca x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14990 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 17:55:33 +00:00
Love Hörnquist Åstrand
d0443e2058 prefix all sequence symbols with _, they are not part of the GSS-API api. By comment from Wynn Wilkes <wynnw@vintela.com>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14989 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 17:51:27 +00:00
Love Hörnquist Åstrand
239eade8e6 (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14865 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-20 10:46:15 +00:00
Love Hörnquist Åstrand
2f619d9f28 document supported mechamisms
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14864 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-20 10:45:57 +00:00
Love Hörnquist Åstrand
4903a8daab x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14765 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 15:01:39 +00:00
Love Hörnquist Åstrand
e743a6ca8a break out the processing of the delegated credential to a separate
function to make error handling easier, move the credential handling
to after other setup is done


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14764 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 15:01:21 +00:00
Love Hörnquist Åstrand
cce019aa2f make less verbose in case of success
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 14:05:15 +00:00
Love Hörnquist Åstrand
e8bd38e643 add test_sequence to TESTS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14760 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 14:04:43 +00:00
Love Hörnquist Åstrand
7bb695aa15 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14712 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-01 09:00:49 +00:00
Love Hörnquist Åstrand
b42998d374 (gssapi_krb5_verify_8003_checksum): check that cksum isn't NULL
From: Nicolas Pouvesle <npouvesle@tenablesecurity.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-01 08:55:36 +00:00
Love Hörnquist Åstrand
efefe92a1c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14675 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-21 14:03:08 +00:00
Love Hörnquist Åstrand
e05b80a59d use $(LIB_roken)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14674 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-21 13:58:27 +00:00
Love Hörnquist Åstrand
a550bdf307 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14650 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-16 13:19:54 +00:00
Love Hörnquist Åstrand
ad03885ded (gssapi_krb5_set_error_string): pass in the krb5_context to
krb5_free_error_string


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14649 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-16 13:15:03 +00:00
Love Hörnquist Åstrand
ca9e2e3669 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14642 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-15 22:29:13 +00:00
Love Hörnquist Åstrand
d7cf8b175c (gssapi_krb5_set_error_string): don't misuse the krb5_get_error_string api
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14641 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-15 22:27:31 +00:00
Love Hörnquist Åstrand
110f1ca86e (_gss_DES3_get_mic_compat): don't unlock mutex here. Bug reported by
Stefan Metzmacher <metze@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14605 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-01 09:20:56 +00:00
Luke Howard
244ca04320 Remove GSS_C_EXPECTING_MECH_LIST_MIC_FLAG, it is no longer in rfc2478bis
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14584 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-21 08:48:15 +00:00
Luke Howard
1d02386069 don't call krb5_get_credentials() with
KRB5_TC_MATCH_KEYTYPE, it can lead to the credentials cache
growing indefinitely as no key is found with KEYTYPE_NULL


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-21 08:44:25 +00:00
Luke Howard
ebc3e1a658 support KEYTYPE_ARCFOUR_56
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14460 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 02:52:12 +00:00
Luke Howard
cff2c9fbe3 plug leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14458 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 02:51:46 +00:00
Luke Howard
2172d864c7 move GSS-API ChangeLog entries to correct place
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14457 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 02:43:57 +00:00
Luke Howard
847cb0fa5b use gss_krb5_get_subkey() instead of gss_krb5_get_{local,remote}key()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14450 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 02:32:44 +00:00
Luke Howard
33c4663ba5 plug leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14447 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 02:32:26 +00:00