Love Hörnquist Åstrand
a1992b1ea4
rename SDB to SCC
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25072 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:09:42 +00:00
Love Hörnquist Åstrand
813bb8414b
rename SDB to SCC
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:09:32 +00:00
Love Hörnquist Åstrand
106735c9cf
rename SDB to SCC
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25070 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:09:21 +00:00
Love Hörnquist Åstrand
48e9a84d44
rename SDB to SCC
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25069 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:09:11 +00:00
Love Hörnquist Åstrand
92017a2fd1
rename scache to scc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25068 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:09:00 +00:00
Love Hörnquist Åstrand
5c5324f003
rename scache to scc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:08:50 +00:00
Love Hörnquist Åstrand
fd46c01a0b
rename scache to scc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:08:40 +00:00
Love Hörnquist Åstrand
88e7107177
use krb5_cc_new_unique, use constants for cache types
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25065 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:08:30 +00:00
Love Hörnquist Åstrand
9c18bf414c
use constants for cache types
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:08:09 +00:00
Love Hörnquist Åstrand
a0edcc9231
use krb5_cc_new_unique, use constants for cache types
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25062 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:07:59 +00:00
Love Hörnquist Åstrand
d32a5564a6
use krb5_cc_new_unique, use constants for cache types
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:07:48 +00:00
Love Hörnquist Åstrand
38b93186dd
use krb5_cc_new_unique, use constants for cache types
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25060 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:07:38 +00:00
Love Hörnquist Åstrand
5697c8e76c
use krb5_cc_new_unique, use constants for cache types
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25059 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:07:28 +00:00
Love Hörnquist Åstrand
a7e136a5d7
use krb5_cc_new_unique, use constants for cache types
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25058 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:07:17 +00:00
Love Hörnquist Åstrand
6adab55480
rename S4U2SELF to FOR_USER
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25046 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:04:54 +00:00
Love Hörnquist Åstrand
3fd4a7262c
use constants for memory types
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25036 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:03:07 +00:00
Love Hörnquist Åstrand
a807cf05fa
use constants for memory types
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:02:57 +00:00
Love Hörnquist Åstrand
7f3fa7c41b
Use krb5_cc_new_unique() instead of krb5_cc_gen_new()
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:01:53 +00:00
Love Hörnquist Åstrand
90ca46c387
move krb5_cc_gen_new to deprecated, but don't mark it yet.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25029 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:01:40 +00:00
Love Hörnquist Åstrand
90737f4260
move krb5_cc_gen_new to deprecated, but don't mark it yet.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:01:27 +00:00
Love Hörnquist Åstrand
47de5125a8
free on failure
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25027 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:01:15 +00:00
Love Hörnquist Åstrand
71bab6db75
don't reset id pointer on free, upper layer does that for us.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:01:02 +00:00
Love Hörnquist Åstrand
53dcd1bdd3
test leak and make behavie sanely.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25025 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:00:51 +00:00
Love Hörnquist Åstrand
4b7c75eaf8
plug memory leak
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25024 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:00:40 +00:00
Love Hörnquist Åstrand
e9acb99d0e
test krb5_cc_[sg]et_config, plug leaks
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25023 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:00:28 +00:00
Love Hörnquist Åstrand
6f3721ba18
remove krb5_cc_next_cred_match, make work
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25022 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:00:05 +00:00
Love Hörnquist Åstrand
48cb3aa538
plugs leaks
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25021 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 03:59:54 +00:00
Love Hörnquist Åstrand
998d22462c
plugs leaks
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25020 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 03:59:43 +00:00
Love Hörnquist Åstrand
9dab5271de
rename copy_match to copy_match_f
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25018 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 03:59:15 +00:00
Love Hörnquist Åstrand
72a8add81c
rename copy_match to copy_match_f
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25017 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 03:58:59 +00:00
Love Hörnquist Åstrand
01a0f89114
change name of krb5_cc_copy_cache_match since it changed signature
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25011 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 03:57:48 +00:00
Love Hörnquist Åstrand
ba32ee19dc
move krb5_cc_copy_creds here
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25010 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 03:57:37 +00:00
Love Hörnquist Åstrand
f2cb188d59
move krb5_cc_copy_creds to mit_glue.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25009 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 03:57:24 +00:00
Love Hörnquist Åstrand
e5df9eb2d6
don't send more then 10 EDIs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25003 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 19:49:21 +00:00
Love Hörnquist Åstrand
d636b0fc31
unexport stuff that are no longer needed by kdc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 09:02:33 +00:00
Love Hörnquist Åstrand
816a49b08a
unexport stuff that are no longer needed by kdc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 09:02:22 +00:00
Love Hörnquist Åstrand
18d83c99de
ENOMEM, not ret
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 09:02:08 +00:00
Love Hörnquist Åstrand
4b73e8078f
use SHA_DIGEST_LENGTH
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 09:01:13 +00:00
Love Hörnquist Åstrand
6ef65df975
make better conditional for v4_name_convert
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24978 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-28 18:26:01 +00:00
Love Hörnquist Åstrand
03e7b2d3a5
add timeout to krb5_send_to_kdc_func, from metze
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24969 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-27 15:01:47 +00:00
Love Hörnquist Åstrand
e7b7dfaae6
add timeout to krb5_send_to_kdc_func, from metze
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24968 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-27 15:01:35 +00:00
Love Hörnquist Åstrand
9f90a1b3b6
pull back name_convert array since its used by krb5_524_conv_principal
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24964 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-27 14:56:01 +00:00
Love Hörnquist Åstrand
f0d769cccb
set new filename
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24955 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 01:40:44 +00:00
Love Hörnquist Åstrand
27f682668f
fix printf
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 01:40:34 +00:00
Love Hörnquist Åstrand
95ab53d314
unlock mutex instead of lock twice
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 01:40:19 +00:00
Love Hörnquist Åstrand
c4892701a6
make homedir work
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 01:09:43 +00:00
Love Hörnquist Åstrand
9ba2b611ef
add KRB5_KU_PA_PKINIT_KX
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24950 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:38:36 +00:00
Love Hörnquist Åstrand
f0616af047
Use blocksize instead of 16.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:37:53 +00:00
Love Hörnquist Åstrand
f1a7da6a55
Patch from Riverbed (Derrick Pallas) under the license of the files they are in:
...
memory leak in krb5_get_creds_opt->ticket
The function krb5_get_creds_opt_set_ticket copies a Ticket
into a krb5_get_cred_opt structure. However,
krb5_get_creds_opt_free does not clean up this Ticket, even
thought he manual pages indicate that it should.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:37:42 +00:00
Love Hörnquist Åstrand
5e4d827e61
Patch from Riverbed (Derrick Pallas) under the license of the files they are in:
...
Fix resource leak in heimdal/krb5/fcache/fcc_remove_cred
In fcache, fcc_remove_cred generates a ccache called
"newfile," which is not cleaned up if the final call
(krb5_cc_move) fails.
Free of uninitialized value in fcache/fcc_move(...)
If init_fcc fails to acquire a file handle, sp will be
uninitialized. If this is the case, the call to
krb5_storage_free will dereference this uninitialized value,
which causes undefined behaviour.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:37:21 +00:00