Asanka Herath
a0ae9f5a0e
Merge remote branch 'h-github/master' into win32-port2
...
* h-github/master: (64 commits)
refix socket wrappers with rk_
Patch from Secure Endpoints/Asanka Herath for windows support
unset KRB5CCNAME
its really just LIBADD more most of them
correct quoting
Use -lpthread for modern freebsd instead
clean KRB5CCNAME and KRB5_CONFIG, require test to reset them
more up ${env_setup}
use PTHREADS_LIBADD for freebsd6 and newer
add PTHREAD_LIBADD
add PTHREAD_LIBADD
add PTHREAD_LIBADD
switch to PTHREADS_LIBADD
log what the error string say too
More debug logging
sprinkle more 'echo "test failed"'
sprinkle 'echo "test failed"'
use calloc(), indent more prettier
in sh, equal compare is really = for strings, not ==
Check for duplicates, already loaded mechs
...
Conflicts (resolved):
lib/krb5/auth_context.c
lib/krb5/changepw.c
lib/krb5/context.c
lib/krb5/error_string.c
lib/krb5/kuserok.c
lib/krb5/libkrb5-exports.def.in
lib/krb5/net_write.c
lib/krb5/store_fd.c
lib/krb5/test_cc.c
lib/roken/strerror_r.c
2009-12-21 13:44:00 -05:00
Love Hornquist Astrand
687db64c56
Patch from Secure Endpoints/Asanka Herath for windows support
2009-12-21 08:45:28 +01:00
Kamen Mazdrashki
778df10ddc
krb5: Fix leaked hx509_context pointer
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-12-07 09:07:07 -08:00
Asanka Herath
393a597858
SOCK_INIT/SOCK_EXIT -> rk_SOCK_INIT/rk_SOCK_EXIT and net_write_s() -> net_write()
2009-11-26 01:42:57 -05:00
Love Hornquist Astrand
f1c0c1bba3
prefix SOCKET symbols with rk_
2009-11-25 05:29:18 +01:00
Asanka Herath
81b70c3488
Copy cc_ops and kt_types when copying a krb5_context in krb5_copy_context()
2009-11-24 10:20:19 -08:00
Asanka Herath
d6adaa775f
No geteuid() on Windows
2009-11-24 10:16:49 -08:00
Asanka Herath
dc0b2b8648
Missing foo_LIB_FUNCTION fixes
2009-11-24 10:11:15 -08:00
Asanka Herath
b1063ea8fc
Initial Windows port
2009-11-24 10:11:14 -08:00
Love Hornquist Astrand
bf1ecbd0ff
wrap scc with have HAVE_SCC, enable running kcm as api cache
2009-11-22 11:56:43 -08:00
Love Hornquist Astrand
33002c449c
deprecate krb5_get_err_text
2009-10-12 09:38:14 -07:00
Love Hornquist Astrand
a95f16503e
load hx509 context
2009-09-29 11:29:02 -07:00
Love Hornquist Astrand
c0333682c6
Add logging if its specfied by the configuration file
2009-09-07 20:21:38 -07:00
Love Hornquist Astrand
13ba2956cc
Check if COM_ERR_BINDDOMAIN_krb5 is defined, if it is, use bindtextdomain()
...
Older versions of compile_et doesn't support gettext/libintl support,
if they don't, there will be no such symbols and we can't load the
text domains for those symbols, so lets skip that.
Pointed out by Guillaume Rousse on heimdal-discuss
2009-08-26 09:02:25 -07:00
Love Hornquist Astrand
23c83fb6e3
move copy_etypes to HEIMDAL_SMALLER section
2009-08-19 16:58:29 -07:00
Love Hornquist Astrand
2f4ca1347f
Don't include krb5_copy_context in a small heimdal
2009-08-19 16:53:03 -07:00
Love Hörnquist Åstrand
3f9631daaf
remove RCSID
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25172 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-04 06:17:52 +00:00
Love Hörnquist Åstrand
95ab53d314
unlock mutex instead of lock twice
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 01:40:19 +00:00
Love Hörnquist Åstrand
c4892701a6
make homedir work
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 01:09:43 +00:00
Love Hörnquist Åstrand
3f00119ea6
Add krb5_set_home_dir_access.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24936 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:35:53 +00:00
Love Hörnquist Åstrand
5684eb4435
running strsep_copy again, yield same result
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:50 +00:00
Love Hörnquist Åstrand
2dd9fc90d3
move krb5_init_etype here.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:50:39 +00:00
Love Hörnquist Åstrand
fe8ca9dfbf
doxygen fixup
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24276 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:47:53 +00:00
Love Hörnquist Åstrand
6dd6406d82
allow NULL input to krb5_free_config_files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24117 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:02:32 +00:00
Love Hörnquist Åstrand
c1a4666f81
mutex is always allocated, cid#142
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24106 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:00:39 +00:00
Love Hörnquist Åstrand
541c114033
always include SDB backend
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-12 04:19:20 +00:00
Love Hörnquist Åstrand
187bbfeb55
make sqlite optional
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23990 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:26:50 +00:00
Love Hörnquist Åstrand
eff9d3a6b4
Allocate the right size and init the right krb5_context
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23934 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:18:03 +00:00
Love Hörnquist Åstrand
5a7596fd02
allocate the right size
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23933 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-18 21:17:47 +00:00
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