Commit Graph

3557 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
1e5e118bcf Fix error message to match function called.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22718 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:04 +00:00
Love Hörnquist Åstrand
92e7251a36 Refactor code to flatten the call-tree.
Make the ticket request in the TGS-REQ inherit the address-ness of the
krbtgt if the address is not specified in the function call.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22717 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:00 +00:00
Love Hörnquist Åstrand
e5baf09800 Dont try key usage KRB5_KU_AP_REQ_AUTH for TGS-REQ. This drop
compatibility with pre 0.3d KDCs.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22714 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:49 +00:00
Love Hörnquist Åstrand
ecd4be81f0 set KRB5_GC_CANONICALIZE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:34 +00:00
Love Hörnquist Åstrand
829360b3f6 Catch KRB5_GC_CANONICALIZE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22708 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:26 +00:00
Love Hörnquist Åstrand
0968e71694 Try searchin the key by to use by first looking for for PK-INIT
EKU, then the Microsoft smart card EKU and last, no special EKU at all.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22673 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-10 15:00:05 +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
9ab98baf5b (krb5_add_et_list): doxygen.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22603 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-21 18:44:57 +00:00
Love Hörnquist Åstrand
c06fcf7329 Remove extra ;, From Dennis Davis.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-05 20:33:12 +00:00
Love Hörnquist Åstrand
ad1bddbf1d Make compile on-pre c99 compilers. From Dennis Davis.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-05 20:31:55 +00:00
Love Hörnquist Åstrand
8a85ac3736 libkrb5_la_LIBADD: depend on libwind.la
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22563 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-03 17:39:10 +00:00
Love Hörnquist Åstrand
69c1f4ee7b Use libwind.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-03 17:38:35 +00:00
Love Hörnquist Åstrand
0fe3af6d65 doxygenify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-29 09:38:39 +00:00
Love Hörnquist Åstrand
52d38ed2ad doxygenify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-29 09:37:25 +00:00
Love Hörnquist Åstrand
ce8c0da847 doxygen-ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22548 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-29 09:19:27 +00:00
Love Hörnquist Åstrand
f911165af9 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22546 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-29 08:59:32 +00:00
Love Hörnquist Åstrand
318a685f57 break out fileformat to a separate page.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-29 08:51:45 +00:00
Love Hörnquist Åstrand
73921a33d9 Add introtext.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22541 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-29 08:46:05 +00:00
Love Hörnquist Åstrand
34faa9fe6e better error strings for the keytab fetching functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22532 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-27 11:59:18 +00:00
Love Hörnquist Åstrand
817fb0a221 Catch deprecated entries.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22531 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-27 11:55:30 +00:00
Love Hörnquist Åstrand
fd82ee85e7 Remove support for [libdefaults]capath (not [libdefaults] capaths though).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22530 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-27 11:48:16 +00:00
Love Hörnquist Åstrand
24faee83cd (fcc_move): more explict why the fcc_move failes, handle cross device links.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22517 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-24 11:45:51 +00:00
Love Hörnquist Åstrand
be80c8d405 Use on variable less.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-21 15:49:58 +00:00
Love Hörnquist Åstrand
19e900fe92 noinst_PROGRAMS += test_forward
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22501 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-21 15:43:21 +00:00
Love Hörnquist Åstrand
f8920ae42f Used for testing krb5_get_forwarded_creds().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22500 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-21 15:40:22 +00:00
Love Hörnquist Åstrand
75f06066fc Add krb5_credential group.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22499 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-21 15:37:42 +00:00
Love Hörnquist Åstrand
fe0304143f Try to handle ticket full and ticketless tickets better.
Add doxygen comments while here.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22498 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-21 15:30:35 +00:00
Love Hörnquist Åstrand
c30db64781 drop CHECK_SYMBOLS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22492 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-21 11:50:15 +00:00
Love Hörnquist Åstrand
c1acf2a625 Add krb5_digest_probe.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22482 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-18 13:15:11 +00:00
Love Hörnquist Åstrand
dc2db77898 Replace hx509_name_to_der_name with hx509_name_binary.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22433 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-13 14:11:46 +00:00
Love Hörnquist Åstrand
965430bff8 add missing files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22405 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-12 05:47:20 +00:00
Love Hörnquist Åstrand
f2acf9d803 Add newline to avoid generating broken krb5-protos. from David Love.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-14 05:25:59 +00:00
Love Hörnquist Åstrand
872980ff98 Document krb5_rd_req_in_set_pac_check.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22235 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 21:52:07 +00:00
Love Hörnquist Åstrand
c8cab1fbdc Check check_pac.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22233 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 21:43:37 +00:00
Love Hörnquist Åstrand
cf236ce469 use _ in configuration option.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22232 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 21:42:41 +00:00
Love Hörnquist Åstrand
c651661d7f use KRB5_CTX_F_CHECK_PAC to init check_pac field in the krb5_rd_req_in_ctx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22230 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 21:41:51 +00:00
Love Hörnquist Åstrand
d6d7f52f62 Adapt to changing dns_canonicalize_hostname into flags field.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22229 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 21:40:59 +00:00
Love Hörnquist Åstrand
a41416a611 Adapt to changing dns_canonicalize_hostname into flags field, add
check-pac as an libdefaults option.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22228 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 21:40:27 +00:00
Love Hörnquist Åstrand
e470de122e Adapt to changes in hx509 interface.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22227 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 21:39:14 +00:00
Love Hörnquist Åstrand
b59d7eeece Replace the dns flag with a flag field and use that.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22226 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 21:31:53 +00:00
Love Hörnquist Åstrand
e0d4ec6201 build_HEADERZ += heim_threads.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22210 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 19:17:47 +00:00
Love Hörnquist Åstrand
affe01bf0c revert previous patch, the problem is located in the RAND_file_name()
function that will cause recursive nss lookups, can't fix that here.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 13:48:01 +00:00
Love Hörnquist Åstrand
473b2e044b Use HAVE_FCNTL for both lock and unlock, from Hai Zaar.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 02:23:00 +00:00
Love Hörnquist Åstrand
08e19e862a (krb5_generate_random_block): try to avoid the dead-lock in by not
holding the lock while running RAND_file_name. From Hai Zaar.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22193 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 02:16:01 +00:00
Love Hörnquist Åstrand
8dc3e8a874 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22190 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-06 16:24:22 +00:00
Love Hörnquist Åstrand
2da57a288f (krb5_digest_probe): return what mechs are supported/allowed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 20:02:49 +00:00
Love Hörnquist Åstrand
3988b29f85 add group krb5_digest
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22150 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 19:07:40 +00:00
Love Hörnquist Åstrand
4854adc216 Make krb5_get_error_string return an allocated string to make the
function indempotent. From Zeqing (Fred) Xia.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 16:56:02 +00:00
Love Hörnquist Åstrand
0a39807d9f (init_context_from_config_file): set default_cc_name_set
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 01:23:41 +00:00