Love Hörnquist Åstrand
7a47e167d9
Use unsigned where appropriate.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:52:06 +00:00
Love Hörnquist Åstrand
331b920fdc
Add version number to krb5_cc_ops
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:48:51 +00:00
Love Hörnquist Åstrand
21abe2d75e
Implement set_default.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:48:15 +00:00
Love Hörnquist Åstrand
972ea571f3
Translate ccErrInvalidCCache.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:47:18 +00:00
Love Hörnquist Åstrand
2e62b79c07
Only release context if its in use.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22818 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:46:51 +00:00
Love Hörnquist Åstrand
aff5c9adc4
Create a new credential cache is ->get_name is called, make
...
acc_initialize() reset the existing credential cache if needed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22669 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-09 23:39:25 +00:00
Love Hörnquist Åstrand
32809668a9
(acc_get_name): just return the cache_name directly instead of trying
...
to resolve it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22667 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-09 23:08:32 +00:00
Love Hörnquist Åstrand
bdb625ddf0
Free context when done, implement krb5_cc_ops->default_name.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22099 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 17:14:34 +00:00
Love Hörnquist Åstrand
759bf557e0
Implement the move operation. Avoid using cc_set_principal() since it
...
broken on Mac OS X 10.5.0.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22091 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-03 12:38:53 +00:00
Love Hörnquist Åstrand
d0bd78d2a6
use krb5_free_cred_contents
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22059 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-11 15:27:59 +00:00
Love Hörnquist Åstrand
4ff5635c57
doxygen documentation
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22029 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-10 10:38:04 +00:00
Love Hörnquist Åstrand
8d40c2994b
check return value of alloc functions, from Charles Longeau
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 16:11:25 +00:00
Love Hörnquist Åstrand
f3b06c771d
(loadlib): pass RTLD_LAZY to dlopen, without it linux is unhappy.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19764 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 15:31:01 +00:00
Love Hörnquist Åstrand
f733fb5e22
Does function typecasts instead of void * type-casts.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18598 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-19 11:41:38 +00:00
Love Hörnquist Åstrand
d275b39ee1
Use ticket flags definition, might fix Mac OS X Kerberos.app problems.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16825 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 04:22:23 +00:00
Love Hörnquist Åstrand
1b5f2b7362
(init_ccapi): return kerberos errors, callers expect it
...
(acc_get_cache_first): don't leak memory or abort on malloc failure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-03 08:44:18 +00:00
Love Hörnquist Åstrand
02a6d6bf99
Return KRB5_CC_NOSUPP for ccErrServerUnavailable.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-01 03:37:12 +00:00
Love Hörnquist Åstrand
5ddc2e0774
Implement the cache iteration functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16108 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-30 10:10:09 +00:00
Love Hörnquist Åstrand
2679e4770f
use HAVE_DLOPEN around cc_handle
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 19:32:44 +00:00
Love Hörnquist Åstrand
1da385e5b6
(acc_gen_new): remove debug printf
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 21:54:01 +00:00
Love Hörnquist Åstrand
050cc7b7f3
(acc_resolve): if open_default_ccache failed with ccErrCCacheNotFound
...
try again with create_default_ccache, this fixes the problem where the
security server apperenly haven't started yet on Mac OS X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14832 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 19:19:04 +00:00
Love Hörnquist Åstrand
01d4d3ef29
Argument to create_new_ccache is a principal, not a credential cache name.
...
Clean up lossage related to this problem.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14730 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 14:17:00 +00:00
Love Hörnquist Åstrand
7c6b360f3a
(make_ccred_from_cred): addresses is filled in now, remove comment
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 18:01:15 +00:00
Love Hörnquist Åstrand
d87eb9758e
add mutex for global variables, clean up returned error codes,
...
implement storing addresses into the ccapi
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14665 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 17:41:22 +00:00
Love Hörnquist Åstrand
1beace5465
make default_acc_name static
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14416 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-29 01:48:20 +00:00
Love Hörnquist Åstrand
6554996344
(make_cred_from_ccred): the address isn't a sockaddr but rather a
...
kerberos address, deal with that.
Based on bug report from Jakob Schlyter <jakob@rfc.se >.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-31 14:10:46 +00:00
Love Hörnquist Åstrand
2218eea060
use krb5_ccapi.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-11 04:02:43 +00:00
Love Hörnquist Åstrand
5c193984ae
remove magic 3 with ccapi_version_3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14096 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-06 16:09:51 +00:00
Love Hörnquist Åstrand
97fd731a78
CCAPI v3 implementation, the read only support was from Magnus Ahltorp
...
and then extended by me to support all other operations. Tested with
MIT kerberos cc cache implementation on MacOS 10.3.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-06 16:00:41 +00:00