Commit Graph

689 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
3cf6e96dbb Remove memory leaks.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-31 15:59:11 +00:00
Love Hörnquist Åstrand
085f3eb85c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16244 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 11:30:26 +00:00
Love Hörnquist Åstrand
c55b53060b build test_kcred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16243 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 11:30:12 +00:00
Love Hörnquist Åstrand
b742a50cf7 Document gss_krb5_import_ccache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16242 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 11:29:34 +00:00
Love Hörnquist Åstrand
780dc8dd41 Sort and add gss_krb5_import_ccache.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16241 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 11:26:55 +00:00
Love Hörnquist Åstrand
8980a47d4a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16240 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 11:25:34 +00:00
Love Hörnquist Åstrand
a5755046b4 (_gssapi_krb5_ccache_lifetime): break out code used to extract
lifetime from a credential cache


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16239 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 11:25:16 +00:00
Love Hörnquist Åstrand
fc4f134e26 Add _gssapi_krb5_ccache_lifetime, used to extract lifetime from a
credential cache.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16238 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 11:23:48 +00:00
Love Hörnquist Åstrand
4084884d71 add gss_krb5_import_ccache, reverse of gss_krb5_copy_ccache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 11:22:13 +00:00
Love Hörnquist Åstrand
afd104d9cd test gss_krb5_import_ccache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 11:19:41 +00:00
Love Hörnquist Åstrand
b62b7a569e More verbose errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16228 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-25 19:41:32 +00:00
Love Hörnquist Åstrand
b3da510397 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16206 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-21 12:44:33 +00:00
Love Hörnquist Åstrand
bc4a1da9c6 (acquire_initiator_cred): use krb5_cc_cache_match to find a matching
creditial cache, if that failes, fallback to the default cache.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-21 12:44:08 +00:00
Love Hörnquist Åstrand
ac5ccfb7d6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16173 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 15:20:55 +00:00
Love Hörnquist Åstrand
5a5905fef1 Add gssapi_krb5_set_status and gssapi_krb5_clear_status
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16172 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 15:20:37 +00:00
Love Hörnquist Åstrand
4bd45a62b8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 07:25:54 +00:00
Love Hörnquist Åstrand
72fabc6c6b (spnego_reply): Don't pass back raw Kerberos errors, use GSS-API
errors instead.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 07:25:18 +00:00
Love Hörnquist Åstrand
a2eac30736 Add gssapi_krb5_clear_status, gssapi_krb5_set_status for handling error
messages.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 07:23:03 +00:00
Love Hörnquist Åstrand
07c8470d34 Use rk_UNCONST to avoid const warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15963 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-23 11:59:47 +00:00
Love Hörnquist Åstrand
77f0b5958e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-23 08:31:30 +00:00
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