Commit Graph

644 Commits

Author SHA1 Message Date
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
Luke Howard
cdddef90f9 allow client to indicate that subkey should be used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 02:32:05 +00:00
Luke Howard
efc892cd8b use symbolic name for checksum type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 02:31:47 +00:00
Love Hörnquist Åstrand
4df8612614 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14362 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-30 19:27:55 +00:00
Love Hörnquist Åstrand
08bb397dbc Reverse order of HEIMDAL_MUTEX_unlock and gss_release_cred to avoid
deadlock, from Luke Howard <lukeh@padl.com>.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14360 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-30 19:27:11 +00:00
Love Hörnquist Åstrand
b30d575de7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-06 07:10:44 +00:00
Love Hörnquist Åstrand
713d5b767b gss_krb5_extract_authz_data_from_sec_context was renamed to
gsskrb5_extract_authz_data_from_sec_context


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-06 07:08:58 +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
cca3f70913 spkm, rfc2025
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-25 20:08:22 +00:00
Love Hörnquist Åstrand
379db7c5fa x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14099 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-07 14:36:13 +00:00
Love Hörnquist Åstrand
b28cb7da78 mutex buglet, From: Luke Howard <lukeh@PADL.COM>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14098 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-07 14:31:52 +00:00
Love Hörnquist Åstrand
e24a5cf820 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13839 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-06 15:57:24 +00:00
Love Hörnquist Åstrand
86a93da7e5 spelling from Josef El-Rayes <josef@FreeBSD.org>
while here, write some text about the SPNEGO situation


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-06 15:57:10 +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
Love Hörnquist Åstrand
0efcf388bf x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13700 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-08 08:27:25 +00:00
Love Hörnquist Åstrand
85d7c792a7 s/CTXAcceptorSubkey/CFXAcceptorSubkey/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-08 08:25:40 +00:00
Love Hörnquist Åstrand
274b1f4fd9 add GSS_C_EXPECTING_MECH_LIST_MIC_FLAG
From: Luke Howard <lukeh@padl.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13697 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-07 14:26:15 +00:00
Love Hörnquist Åstrand
c9c5b06dce x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13696 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-07 14:25:18 +00:00
Love Hörnquist Åstrand
88562c0362 (spnego_reply): use _gss_spnego_require_mechlist_mic to figure out if
we need to check MechListMIC; From: Luke Howard <lukeh@padl.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13694 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-07 14:24:58 +00:00
Love Hörnquist Åstrand
7055cb55cc (send_accept): use _gss_spnego_require_mechlist_mic to figure out if
we need to send MechList


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13693 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-07 14:22:44 +00:00
Love Hörnquist Åstrand
b4954cc2a4 add _gss_spnego_require_mechlist_mic, From: Luke Howard <lukeh@padl.com>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13692 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-07 14:22:03 +00:00
Love Hörnquist Åstrand
8570124fc9 add _gss_spnego_require_mechlist_mic for compatibility with MS SPNEGO
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13691 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-07 14:20:03 +00:00