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
Love Hörnquist Åstrand
672fd697ee
(add_file): make len argument an pointer to an integer
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12775 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-04 18:15:45 +00:00
Love Hörnquist Åstrand
bec7df49db
add krb5_prepend_config_files and krb5_prepend_config_files_default
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-18 05:09:05 +00:00
Love Hörnquist Åstrand
7217eb2214
(default_etypes): also advertise that we handle aes encryption types
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12117 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-23 17:41:43 +00:00
Love Hörnquist Åstrand
3d2fd2dc7f
(init_context_from_config_file): set default_cc_name to NULL
...
(krb5_free_context): free default_cc_name if set
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-10 00:24:13 +00:00
Johan Danielsson
89a75e551c
(krb5_set_config_files): return ENXIO instead of ENOENT when
...
"unconfigured"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11467 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-19 19:49:52 +00:00
Johan Danielsson
efd5e9c1a4
(init_context_from_config_file): simplify initialisation of srv_lookup
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11328 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 17:03:12 +00:00
Johan Danielsson
b59dafe5ca
add some disabled code to bail out if there is no parable config file
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 15:27:24 +00:00
Jacques A. Vidrine
1d68b59387
Rename the srv_lookup' option to
dns_lookup_kdc'.
...
`srv_lookup' can still be specified for backwards compatibility.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11244 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 13:36:47 +00:00
Johan Danielsson
6ab88b50af
(krb5_get_default_config_files): ignore duplicate files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11121 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-19 12:13:15 +00:00
Johan Danielsson
c84480bd74
fix various borked stuff in previous commits
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11109 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-16 19:42:18 +00:00
Johan Danielsson
9cc8a49534
get the default keytab from KRB5_KTNAME
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-15 07:35:48 +00:00
Johan Danielsson
0b705c8b67
allow changing config files with the function krb5_set_config_files,
...
there are also related functions krb5_get_default_config_files and
krb5_free_config_files; these should work similar to their MIT
counterparts
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11097 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-14 17:37:05 +00:00