Love Hornquist Astrand
25b0f731ab
Better handling of memory allocation failure [CID-77]
2009-07-30 12:27:19 +02:00
Love Hornquist Astrand
dc95a7983d
Release ticket on failure [CID-96]
2009-07-30 11:59:15 +02:00
Love Hornquist Astrand
e1ecb6f7a6
Catch uninited variable [CID-182]
2009-07-30 09:40:05 +02:00
Love Hornquist Astrand
ca6e428093
check that we don't pass negative numbers of memset [CID-169]
2009-07-30 07:53:58 +02:00
Love Hornquist Astrand
a1964f4747
use after free [CID-184] [CID-185]
2009-07-30 07:38:24 +02:00
Love Hornquist Astrand
4e516cec33
Pruned to aggressivly
2009-07-29 23:14:44 +02:00
Love Hornquist Astrand
9b710bed81
store is never read again
2009-07-29 22:37:58 +02:00
Love Hornquist Astrand
fa502c6648
Add support for gss_{import,export}_cred() as requested by metze
...
Works for krb5 and SPNEGO mechanisms. Kerberos credentials are passed as
credential cache names, or if there are memory based credentials, inband in the protocol. This means that the credentials buffers must be keep secret.
As documented by IBM (they have the wrong prototype though)
and GGF (GSS-API Extensions) back in 2001
2009-07-29 13:36:02 +02:00
Love Hornquist Astrand
e5c42ba42f
rename krb5_storage_from_emem in documentation
2009-07-28 17:51:53 +02:00
Love Hornquist Astrand
7e4854250e
Actually register new plugins and plug a related memory leak
2009-07-19 21:23:56 -07:00
Love Hornquist Astrand
51fbbf93e3
(log_file): use strvisx rightly
2009-07-19 17:52:53 -07:00
Love Hornquist Astrand
317d837d0f
krb5_get_cred_from_kdc and krb5_get_cred_from_kdc_opt deprecated
2009-07-17 20:39:35 -07:00
Love Hornquist Astrand
9211c47a30
Deprecate krb5_get_cred_from_kdc{,_opt} since they are replacement functions
2009-07-17 20:38:32 -07:00
Love Hornquist Astrand
80021f5e05
Make get_cred_kdc_any a private function.
2009-07-17 20:36:42 -07:00
Love Hornquist Astrand
d4ca938866
Only load plugins once and never unload them
...
Its expensive to load and unload plugins all the time, so lets stop doing that.
Run over the plugin directory and load all plugins and remember them all.
In the future, something should watch the directory and if it changes,
load the new plugins that was put there.
2009-07-17 15:18:00 -07:00
Love Hornquist Astrand
de5110c05a
(krb5_get_kdc_cred): make sure that out_creds points to NULL on failure
2009-07-16 23:54:54 -07:00
Love Hörnquist Åstrand
6c56033e6f
improve msft compiler case
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25335 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-16 18:28:12 +00:00
Love Hörnquist Åstrand
6a85bbcc65
More tests for KRB5_DEPRECATED
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25334 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-16 18:27:52 +00:00
Love Hörnquist Åstrand
2b54af87e9
Add paranoid printing using strvisx.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25332 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-15 23:31:55 +00:00
Love Hörnquist Åstrand
c99b2003e2
Implement gss_wrap_iov, gss_unwrap_iov for CFX type encryption types.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-22 17:56:41 +00:00
Love Hörnquist Åstrand
d104f3b9d6
Fix logic error when we do client referrals.
...
Author: andrew bartlett <abartlet@samba.org >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25283 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-12 18:10:28 +00:00
Love Hörnquist Åstrand
1f42785746
plug memory leak
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-08 22:02:25 +00:00
Love Hörnquist Åstrand
bc07938965
(emem_trunc): if offset is NULL, free all memory
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-08 21:57:56 +00:00
Love Hörnquist Åstrand
47ebb62930
Release p2, valgrind output from Andrew Bartlett
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-08 21:57:45 +00:00
Love Hörnquist Åstrand
bc236bae7e
move heim_threads.h to $srcroot/include
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-06 05:10:31 +00:00
Love Hörnquist Åstrand
6f8635376c
drop heim_threads. move to $srcroot/include
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25271 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-06 05:10:08 +00:00
Love Hörnquist Åstrand
9f46439d78
remove unused stuff
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25251 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:20:47 +00:00
Love Hörnquist Åstrand
65e7108f79
use oid variable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25235 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:17:52 +00:00
Love Hörnquist Åstrand
d477cd2e23
use oid variable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25234 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:17:42 +00:00
Love Hörnquist Åstrand
a63aa6e262
use oid variable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25233 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:17:31 +00:00
Love Hörnquist Åstrand
173368d011
use constant for locate plugin name
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:04:49 +00:00
Love Hörnquist Åstrand
e85dfe0ce5
KRB5_GET_INIT_CREDS_OPT_SALT is not supported
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25181 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:01:39 +00:00
Love Hörnquist Åstrand
83af77c271
remove code for unsupported option
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25180 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:01:26 +00:00
Love Hörnquist Åstrand
59213e8673
remove trailer after #undef token
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25178 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:00:58 +00:00
Love Hörnquist Åstrand
7f65278f65
doxygen
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-04 07:49:08 +00:00
Love Hörnquist Åstrand
98d9f63c51
find macos framework plugins
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-04 06:18:15 +00:00
Love Hörnquist Åstrand
a5ed32a6fe
the name of the plugin is service_locator
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25173 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-04 06:18:05 +00:00
Love Hörnquist Åstrand
3f9631daaf
remove RCSID
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25172 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-04 06:17:52 +00:00
Love Hörnquist Åstrand
942a821fab
remove RCSID
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-04 06:17:40 +00:00
Love Hörnquist Åstrand
2fd5f8aa46
drop RCSID
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25170 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-04 06:17:19 +00:00
Love Hörnquist Åstrand
a7db36cec8
OTP errors.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-04 06:16:51 +00:00
Love Hörnquist Åstrand
db78789397
more deprecated bits
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-28 21:10:08 +00:00
Love Hörnquist Åstrand
607f562551
define KRB5_DEPRECATED
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25163 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-28 21:09:59 +00:00
Love Hörnquist Åstrand
86393faf30
move krb5_set_error_string() and friend to deprecated.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-28 21:09:49 +00:00
Love Hörnquist Åstrand
1b8f373415
move krb5_set_error_string() and friend here
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25161 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-28 21:09:39 +00:00
Love Hörnquist Åstrand
9c859da82c
define KRB5_DEPRECATED
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25160 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-28 21:09:30 +00:00
Love Hörnquist Åstrand
9b482be4a6
define KRB5_DEPRECATED
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-28 21:09:20 +00:00
Love Hörnquist Åstrand
9c367d7a90
no deprecated function here
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-28 21:09:10 +00:00
Love Hörnquist Åstrand
bd1a4a13c5
move krb5_free_creds_contents to deprecated.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-28 21:09:01 +00:00
Love Hörnquist Åstrand
c843882a27
move krb5_free_creds_contents here
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-28 21:08:51 +00:00