Commit Graph

53 Commits

Author SHA1 Message Date
Love Hornquist Astrand
687db64c56 Patch from Secure Endpoints/Asanka Herath for windows support 2009-12-21 08:45:28 +01:00
Love Hornquist Astrand
589e8f0978 deprecated warning 2009-11-22 16:13:10 -08:00
Love Hornquist Astrand
a7d1283805 make it easier to get forwardable tickets by default (mmm boolan three state) 2009-11-22 12:24:29 -08:00
Love Hörnquist Åstrand
58e7ca0cf4 doxygen.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24332 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-17 21:52:45 +00:00
Love Hörnquist Åstrand
3c8eabfdcf use KRB5_DEPRECATED
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24323 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-17 21:51:15 +00:00
Love Hörnquist Åstrand
f5daf6dd27 add krb5_get_init_creds_opt_set_process_last_req
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24263 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:45:46 +00:00
Love Hörnquist Åstrand
d664c86e34 drop unused variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24221 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-19 19:51:04 +00:00
Love Hörnquist Åstrand
38e75f99c1 remove unused stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24214 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 05:00:46 +00:00
Love Hörnquist Åstrand
aa0b6e36bc remove unused stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 05:00:36 +00:00
Love Hörnquist Åstrand
eaa7e4e854 Deprecate old functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:12:53 +00:00
Love Hörnquist Åstrand
40de2e576d make attribute work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23987 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:26:17 +00:00
Love Hörnquist Åstrand
ca98633f7d memset will zero out everything.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:26:07 +00:00
Love Hörnquist Åstrand
8cfa18a321 no need to use krb5_get_init_creds_opt_init(o);
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:25:56 +00:00
Love Hörnquist Åstrand
00bc112b19 mark krb5_get_init_creds_opt_init deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23982 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:25:23 +00:00
Love Hörnquist Åstrand
03babea1e3 switch to krb5_clear_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:55:39 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
df733439a7 N_()ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23763 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:18:28 +00:00
Love Hörnquist Åstrand
7fcd266fdd use krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 04:32:32 +00:00
Love Hörnquist Åstrand
9b33009cde Always set the ticket options, use KRB5_ADDRESSLESS_DEFAULT as the
default value, this make the unset tri-state not so useful.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21711 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-27 14:22:02 +00:00
Love Hörnquist Åstrand
03f9908752 (krb5_get_init_creds_opt_get_error): correct the order of the
arguments.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20541 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-23 12:19:14 +00:00
Love Hörnquist Åstrand
638b61f46d use the new merged flags field.
(krb5_get_init_creds_opt_set_win2k): new function, turn on all w2k compat flags.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20263 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-18 00:33:52 +00:00
Love Hörnquist Åstrand
581074386c (krb5_get_init_creds_opt_set_canonicalize): new function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20227 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 03:32:28 +00:00
Love Hörnquist Åstrand
976c93b3e6 (krb5_get_init_creds_opt_free): allow free on NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-23 16:27:36 +00:00
Love Hörnquist Åstrand
ece5f9603e Make krb5_get_init_creds_opt_free take a context argument.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-20 18:12:41 +00:00
Love Hörnquist Åstrand
062e1d7d5e (krb5_get_init_creds_opt_set_default_flags): fix argument to
krb5_get_init_creds_opt_set_addressless.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17997 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 14:28:54 +00:00
Love Hörnquist Åstrand
4b009281f6 (krb5_get_init_creds_opt_set_addressless): used to control the
address-lessness of the initial tickets instead of passing in the
empty set of address into krb5_get_init_creds_opt_set_addresses.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 10:55:46 +00:00
Love Hörnquist Åstrand
0679c60ddd (krb5_get_init_creds_opt_get_error): clear error string on error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17881 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-18 08:36:02 +00:00
Love Hörnquist Åstrand
7841148998 (_krb5_get_init_creds_opt_set_krb5_error): make compile again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17674 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-22 02:54:58 +00:00
Love Hörnquist Åstrand
07f13d1815 Add storing and getting KRB-ERROR int the krb5_get_init_creds_opt structure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17671 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-22 02:38:36 +00:00
Love Hörnquist Åstrand
3abd33be22 (_krb5_get_init_creds_opt_copy): use calloc to avoid uninitialized
memory problem.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16938 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:08:30 +00:00
Love Hörnquist Åstrand
0562239eb9 (krb5_get_init_creds_opt_set_default_flags): Use
KRB5_ADDRESSLESS_DEFAULT when checking [appdefault]no-addresses.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16689 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-03 11:42:31 +00:00
Love Hörnquist Åstrand
e42d007ce9 Rename private to opt_private.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 12:45:27 +00:00
Love Hörnquist Åstrand
3e732e53ea unexport krb5_get_init_creds_opt_free_pkinit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14339 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-09 18:52:03 +00:00
Love Hörnquist Åstrand
fb7b2586bc (_krb5_get_init_creds_opt_copy): if the in options NULL, just make a clean copy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14337 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-09 15:30:34 +00:00
Johan Danielsson
40f01e011c (_krb5_get_init_creds_opt_copy): if copying a static opt, make sure to
allocate the "private" field


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-24 11:40:26 +00:00
Love Hörnquist Åstrand
91351971f7 add KRB5_LIB_FUNCTION to all exported functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-25 21:46:46 +00:00
Love Hörnquist Åstrand
2bf6c25dcd its PAC not PAQ
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-30 15:41:04 +00:00
Love Hörnquist Åstrand
9c1ceb2050 reference count krb5_get_init_creds_opt private component to avoid
copy all the data in it


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 23:38:02 +00:00
Love Hörnquist Åstrand
d341945ac0 add krb5_get_init_creds_opt_set_paq_request
break out common part of extended opt functions to require_ext_opt


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12955 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 11:51:42 +00:00
Love Hörnquist Åstrand
9578214707 don't export krb5_get_init_creds_opt_copy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12896 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-21 16:50:02 +00:00
Love Hörnquist Åstrand
ef91ed3046 (krb5_get_init_creds_opt_copy): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-18 22:37:59 +00:00
Love Hörnquist Åstrand
96273416f9 (krb5_get_init_creds_opt_alloc): add context argument
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-08 15:25:02 +00:00
Love Hörnquist Åstrand
ca9d0c8062 (krb5_get_init_creds_opt_alloc): allocate a opt structure
(krb5_get_init_creds_opt_free): free a opt structure
(krb5_get_init_creds_opt_set_pa_password): set preauth info for enc-timestamp


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:12:54 +00:00
Assar Westerlund
49d467e401 (krb5_get_init_creds_opt_set_default_flags): change to take a const
realm


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-03 18:42:07 +00:00
Assar Westerlund
19da8a46fc (krb5_get_init_creds_opt_set_default_flags): make the appdefault
keywords have the same names


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-21 20:44:28 +00:00
Assar Westerlund
898768d857 (krb5_get_init_creds_opt_set_default_flags): fix typo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10009 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-28 00:04:52 +00:00
Assar Westerlund
279fc1109a (krb5_get_init_creds_opt_set_default_flags): add reading of
libdefaults versions of these and add no_addresses


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10005 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-27 23:53:58 +00:00
Johan Danielsson
e3c1ad6145 not much point in setting the anonymous flag here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9457 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-05 16:27:39 +00:00
Johan Danielsson
3ecafbe396 new function krb5_get_init_creds_opt_set_default_flags to set options
from krb5.conf


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9451 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-04 17:02:58 +00:00