Commit Graph

34 Commits

Author SHA1 Message Date
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
Assar Westerlund
1fe7ab74f2 (krb5_get_init_creds_opt_set_anonymous): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8016 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-04 15:58:18 +00:00
Johan Danielsson
c5b916ca6f remove advertising clause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Assar Westerlund
3f3dcd9176 new files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2708 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-05 20:58:27 +00:00