Commit Graph

1443 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
9a9abce471 refactor code, implement GSS_KRB5_CCACHE_NAME_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20384 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 08:51:06 +00:00
Love Hörnquist Åstrand
6eb598fa83 reimplement gss_krb5_ccache_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20383 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 08:49:53 +00:00
Love Hörnquist Åstrand
b39214ed96 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20365 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 13:30:37 +00:00
Love Hörnquist Åstrand
3583a32e50 Need to import spnego name before we can use it as a gss_name_t.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20364 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 13:30:21 +00:00
Love Hörnquist Åstrand
9614f8af97 use this test as part of the regression suite.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20363 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 13:28:56 +00:00
Love Hörnquist Åstrand
6752696815 (gss_acquire_cred): dont init cred->gc_mc every time in the loop.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20360 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 13:24:01 +00:00
Love Hörnquist Åstrand
aba9ef0d50 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20348 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-16 04:22:17 +00:00
Love Hörnquist Åstrand
c0a2207b76 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20347 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 19:03:27 +00:00
Love Hörnquist Åstrand
f836885614 add test_common.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20346 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 18:57:11 +00:00
Love Hörnquist Åstrand
031692fe75 Free list of limit enctypes if there is one.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:51:00 +00:00
Love Hörnquist Åstrand
d3807ad882 Add hideous glue for (NFS) clients that wants to limit the available
enctypes to what it can support (encryption in kernel). If there is no
enctypes selected for this credential, reset it to the default set of
enctypes.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:49:57 +00:00
Love Hörnquist Åstrand
862eb1e0dc Implement GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20325 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:49:17 +00:00
Love Hörnquist Åstrand
2994c5a57a (gsskrb5_cred): add list of supported enctypes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:46:01 +00:00
Love Hörnquist Åstrand
bdff5b6032 (gss_krb5_set_allowable_enctypes): use the length of the array passed
in, stop leaking memory, check for error conditions.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20322 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:43:50 +00:00
Love Hörnquist Åstrand
aeeff09920 update(c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20235 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 11:19:03 +00:00
Love Hörnquist Åstrand
0a7637fef0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20234 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 11:18:09 +00:00
Love Hörnquist Åstrand
dcbc002d2f Add link for gsskrb5_register_acceptor_identity.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20231 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 10:51:22 +00:00
Love Hörnquist Åstrand
dde69289ca Explain why we don't destroy the ccache.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-07 22:36:39 +00:00
Love Hörnquist Åstrand
a2d71428c2 Try to leak less memory in the failure case.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-07 22:30:08 +00:00
Love Hörnquist Åstrand
db5e662240 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20085 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 12:13:26 +00:00
Love Hörnquist Åstrand
0e8f5d1e4b Use right printf formater.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20084 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 12:12:08 +00:00
Love Hörnquist Åstrand
fe63b626c4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20076 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 06:05:31 +00:00
Love Hörnquist Åstrand
9ceb72abd5 split out the error printing function and try to return better errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20075 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 06:05:19 +00:00
Love Hörnquist Åstrand
942fb2686e update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-30 11:57:46 +00:00
Love Hörnquist Åstrand
7b8c28b1f3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20059 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-30 11:56:30 +00:00
Love Hörnquist Åstrand
715d4a304f revert 1.75: (init_auth): only turn on GSS_C_CONF_FLAG and
GSS_C_INT_FLAG if the caller requseted it.

This is because Kerberos always support INT|CONF, matches behavior
with MS and MIT. The creates problems for the GSS-SPNEGO mech.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20058 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-30 11:56:20 +00:00
Love Hörnquist Åstrand
3cd2485945 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20057 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-24 01:55:37 +00:00
Love Hörnquist Åstrand
4ebb3aace3 constrain desired_output_len
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20056 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-24 01:55:32 +00:00
Love Hörnquist Åstrand
0fbbee95af x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20055 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-24 01:32:39 +00:00
Love Hörnquist Åstrand
2a89a33fbe (krb5_mech): add _gsskrb5_pseudo_random
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20054 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-24 01:32:14 +00:00
Love Hörnquist Åstrand
8c10154055 Catch error from underlaying mech on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20053 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-24 01:31:35 +00:00
Love Hörnquist Åstrand
919f9f5dba Add krb5/prf.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20052 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-24 01:30:44 +00:00
Love Hörnquist Åstrand
f5799557d0 gss_pseudo_random for krb5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20051 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-24 01:30:13 +00:00
Love Hörnquist Åstrand
4526d9e313 Checks for gss_pseudo_random.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20050 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-24 01:29:38 +00:00
Love Hörnquist Åstrand
a96fe243c6 add KG_INPUT_TOO_LONG
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20049 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-24 00:14:24 +00:00
Love Hörnquist Åstrand
2a6a5e7830 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20048 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-23 23:48:08 +00:00
Love Hörnquist Åstrand
8bc87cd02f Add mech/gss_pseudo_random.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20047 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-23 23:47:46 +00:00
Love Hörnquist Åstrand
c028345ba0 try to load pseudo_random
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20046 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-23 23:41:53 +00:00
Love Hörnquist Åstrand
b5fe6cdd50 Add gss_pseudo_random.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20045 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-23 23:40:45 +00:00
Love Hörnquist Åstrand
0df01c9241 Add hook for gm_pseudo_random.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20044 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-23 23:39:15 +00:00
Love Hörnquist Åstrand
0a66d3e486 use LIBADD_roken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 18:45:03 +00:00
Love Hörnquist Åstrand
b6d9890960 update version number and remove depenency on libvers for libraries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 17:30:31 +00:00
Love Hörnquist Åstrand
43bab8cd07 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19972 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 17:18:27 +00:00
Love Hörnquist Åstrand
bb112dddd6 Don't assume bufer from gss_display_status is ok.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 17:13:39 +00:00
Love Hörnquist Åstrand
f48d46f0d2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 17:12:46 +00:00
Love Hörnquist Åstrand
50d94821d9 Reset out variables.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19965 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 16:23:47 +00:00
Love Hörnquist Åstrand
5b0bb46664 Check in variable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19964 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 16:21:05 +00:00
Love Hörnquist Åstrand
01a98f8ead Reset out variables.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19963 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 16:01:22 +00:00
Love Hörnquist Åstrand
5e5d0e2aa1 Reset variables.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 15:59:04 +00:00
Love Hörnquist Åstrand
f535bb06cc Fix reset out variables.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19961 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 15:57:51 +00:00