Commit Graph

136 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
8eb11663ce add copy config
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:16:19 +00:00
Love Hörnquist Åstrand
c708c7e9fb more working copy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:15:46 +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
d181d985b7 (krb5_copy_context): copy (most of) context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23909 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:55:15 +00:00
Love Hörnquist Åstrand
f8bcb2008e dummy implementation of krb5_copy_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23908 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:55:05 +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
d34ada788d bindtextdomain
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23742 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:09:46 +00:00
Love Hörnquist Åstrand
4f023f744b provide i18n hooks and renew krb5_create_checksum_iov from comments from metze
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23733 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:06:34 +00:00
Love Hörnquist Åstrand
aa3cf96645 add [libdefaults]allow_weak_crypto to allow des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23590 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:09:56 +00:00
Love Hörnquist Åstrand
39fe446983 Support parsing KRB-ERROR passed back from windows server when the time is out of sync, modify krb5_cc_[sg]et_config interface to handle principals too, add tests for this
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23420 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:37:48 +00:00
Love Hörnquist Åstrand
05df27d04d Drop support for reading kerberos 4 srvtab
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-26 03:54:45 +00:00
Love Hörnquist Åstrand
d542833a1f use krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:26:18 +00:00
Love Hörnquist Åstrand
846471a408 register SCACHE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:46:02 +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
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
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
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
Love Hörnquist Åstrand
5fed824f37 its vs it\'s etc. From Bjorn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-14 20:04:50 +00:00
Love Hörnquist Åstrand
f56f1d8f61 Last doxygen in this file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22055 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-11 12:58:45 +00:00
Love Hörnquist Åstrand
5380dee21e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22054 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-11 12:52:45 +00:00
Love Hörnquist Åstrand
af9a6d83d2 more doxygen.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22053 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-11 12:50:50 +00:00
Love Hörnquist Åstrand
f40e802c4e Sprinkle some more doxygen.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22048 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-11 10:09:42 +00:00
Love Hörnquist Åstrand
157fbfd97b (krb5_free_context): free default_cc_name_env, from Gunther Deschner.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-09-28 22:24:18 +00:00
Love Hörnquist Åstrand
629ef1ca09 Set the large_msg_size to 1400, lets not fragment packets and avoid
stupid linklayers that doesn't allow fragmented packets (unix dgram
sockets on Mac OS X)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19107 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-24 14:24:33 +00:00
Love Hörnquist Åstrand
adeeb5222e rename krb5_[gs]et_time_wrap to krb5_[gs]et_max_time_skew
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-08 02:56:28 +00:00
Love Hörnquist Åstrand
b15281a864 Add krb5_[gs]et_time_wrap
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 03:27:47 +00:00
Love Hörnquist Åstrand
0cd59b2fa5 Rename various routines and constants from canonize to canonicalize.
From Andrew Bartlett


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18903 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 03:12:46 +00:00
Love Hörnquist Åstrand
6bf38d8279 krb5_set_send_to_kdc_func takes two arguments.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 22:26:10 +00:00
Love Hörnquist Åstrand
d9d472cd6a (krb5_free_context): free send_to_kdc context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18690 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 20:10:06 +00:00
Love Hörnquist Åstrand
e984cda8b4 Add krb5_get_kdc_sec_offset().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18526 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 15:54:25 +00:00
Love Hörnquist Åstrand
38dafe356c Add krb5_set_dns_canonize_hostname and krb5_get_dns_canonize_hostname
Set context->dns_canonize_hostname using config file.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 09:24:32 +00:00
Love Hörnquist Åstrand
746ee7473a (krb5_init_ets): Add the hx errortable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18039 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-06 19:11:32 +00:00
Love Hörnquist Åstrand
c84978ea6d (krb5_kerberos_enctypes): new function, returns the list of Kerberos
encryption types sorted in order of most preferred to least preferred
encryption type.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17908 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-24 08:43:15 +00:00
Love Hörnquist Åstrand
e84fad2e0e zero out content of all krb5_free_x_content like functions to make sure data doesnt get reused, idea from Wynn Wilkes <wwilkes@vintela.com>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-18 04:21:57 +00:00
Love Hörnquist Åstrand
682ff3fef0 (krb5_init_context): register krb5_javakt_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-17 08:08:28 +00:00
Love Hörnquist Åstrand
5081487496 (krb5_set_config_files): ignore permission denied on configuration
files, user might no be allowed to read /var/heimdal/kdc.conf


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14997 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-28 09:04:10 +00:00
Love Hörnquist Åstrand
c75a81d69f (init_context_from_config_file): init large_msg_size to 6000
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:36:25 +00:00
Luke Howard
710ae74abe register KCM cc_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14529 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 07:29:54 +00:00
Love Hörnquist Åstrand
2d1c1063ef krb5_enctype_is_disabled is the same thing as krb5_enctype_valid, so
use the later since its older and the api doesn't really need another
entry point


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 20:43:50 +00:00
Love Hörnquist Åstrand
802103911a (krb5_is_thread_safe): return TRUE is the library was compiled with
multithreading support. If not, application must global lock the
library, it it uses threads that call kerberos functions at the same
time.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 09:41:36 +00:00
Luke Howard
6c18d8d314 mutex should be destroyed last in krb5_free_context()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 05:48:44 +00:00
Love Hörnquist Åstrand
899e9ce83d (krb5_free_context): clear error string before destroying mutex
(krb5_init_context): don't call krb5_free_context before there is a
mutex initialized


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14358 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-30 07:02:01 +00:00
Love Hörnquist Åstrand
8763264587 (krb5_get_err_text): if neither of com_right nor strerror finds the
error-code, return Unknown error.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14135 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-20 07:54:58 +00:00
Love Hörnquist Åstrand
00373fe5ba register krb5_acc_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-06 16:01:54 +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
b8ddf0d0a7 (krb5_set_default_in_tkt_etypes): use the return from krb5_enctype_valid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13738 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-21 13:36:33 +00:00
Love Hörnquist Åstrand
12289e8b96 (default_etypes): avoid using disabled enctypes
(set_etypes): avoid using disabled enctypes


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13463 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 20:59:39 +00:00
Love Hörnquist Åstrand
653db66d34 register WRFILE ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-25 21:05:42 +00:00
Love Hörnquist Åstrand
9241394b39 allocate and destroy mutex in krb5_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-19 01:23:40 +00:00