Love Hörnquist Åstrand
6ece760454
(gss_release_cred): use GSS_CF_DESTROY_CRED_ON_RELEASE to decide if
...
the cache should be krb5_cc_destroy-ed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-02 08:57:35 +00:00
Love Hörnquist Åstrand
f0dc59770a
(acquire_initiator_cred): GSS_CF_DESTROY_CRED_ON_RELEASE on created credentials.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-02 08:56:25 +00:00
Love Hörnquist Åstrand
2a0d1e1d88
(gsskrb5_accept_delegated_token): rewrite to use gss_krb5_import_ccache
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-02 08:55:19 +00:00
Love Hörnquist Åstrand
6879aaef09
(gss_cred_id_t_desc_struct): add field cred_flags
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-02 08:51:17 +00:00
Love Hörnquist Åstrand
d7396a3cea
(gss_krb5_import_ccache): Use krb5_cc_get_full_name.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16275 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-01 09:41:59 +00:00
Love Hörnquist Åstrand
70ec67ed73
Remove signedness warnings.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-01 06:55:55 +00:00
Love Hörnquist Åstrand
7f2110c0ba
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16269 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-31 16:07:59 +00:00
Love Hörnquist Åstrand
069a5f19a2
Document that gss_krb5_import_ccache is copy by reference.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16268 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-31 16:07:23 +00:00
Love Hörnquist Åstrand
4cc93f5d2e
(gss_krb5_import_ccache): Instead of making a copy of the ccache, make
...
a reference by getting the name and resolving the name. This way the
cache is shared, this flipp side is of course that if someone calls
krb5_cc_destroy the cache is lost for everyone.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-31 16:02:08 +00:00
Love Hörnquist Åstrand
d4a3ad2adf
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-31 15:59:30 +00:00
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