Love Hörnquist Åstrand
1b00602939
use errx on failures, not warnx
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 17:30:48 +00:00
Love Hörnquist Åstrand
76b11e195f
bring back from the dead
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14586 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 15:31:01 +00:00
Love Hörnquist Åstrand
c93c4d1a8b
Replace the eay DES code with key scheule setup code by me and DES
...
s-box and p permutation from Richard Outerbridge implemtation (in
public domain). The DES modes are implemented by me. ui.c code are
from appl/login.
The implementation is about 3 times slower then Eric for encryption,
and about the same speed for key setup.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14585 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 15:29:36 +00:00
Luke Howard
244ca04320
Remove GSS_C_EXPECTING_MECH_LIST_MIC_FLAG, it is no longer in rfc2478bis
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14584 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-21 08:48:15 +00:00
Luke Howard
1d02386069
don't call krb5_get_credentials() with
...
KRB5_TC_MATCH_KEYTYPE, it can lead to the credentials cache
growing indefinitely as no key is found with KEYTYPE_NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-21 08:44:25 +00:00
Luke Howard
d3251a6794
Set KD_CONFIG after calling config_get_hosts() in kpasswd_get_next()
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14581 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-20 06:50:26 +00:00
Love Hörnquist Åstrand
0e11d3a6ee
(DB_open): correct the check for O_RDONLY
...
From: Chaskiel M Grundman <cg2v@andrew.cmu.edu >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14578 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-15 17:45:38 +00:00
Love Hörnquist Åstrand
4651d05136
(krb5_random_to_key): cast size_t to int to make %d work
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-09 09:55:44 +00:00
Love Hörnquist Åstrand
620f5d40f8
(krb5_kt_get_entry): tell what enctype the caller requested to provide
...
the user with a glue what the caller was asking for.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-08 12:12:53 +00:00
Luke Howard
fb69189ceb
Add _krb5_kcm_is_running/_krb5_kcm_noop API
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14567 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-06 01:33:21 +00:00
Love Hörnquist Åstrand
e5e8db131d
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14552 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:45:29 +00:00
Love Hörnquist Åstrand
9d8ae839f2
de-__P
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:45:13 +00:00
Love Hörnquist Åstrand
5d95fe0e1c
document large_msg_size
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:39:57 +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
Love Hörnquist Åstrand
a298a950b1
(krb5_context_data): add large_msg_size, threshold where we start to
...
use transport protocols without tiny max data transport sizes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14548 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:26:27 +00:00
Love Hörnquist Åstrand
1ba81cd3f1
drop prototypes, they all live in krb5-private.h by now
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14546 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:21:31 +00:00
Luke Howard
1f9851b03b
make KCM socket "/var/run/.kcm_socket"
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14541 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 22:56:01 +00:00
Love Hörnquist Åstrand
d375fa4d7f
(send_and_recv_udp): make private again
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14539 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 20:05:30 +00:00
Love Hörnquist Åstrand
e211cca93d
use AF_UNIX like the rest of the codebase, add some more error strings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14538 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 20:01:22 +00:00
Luke Howard
936660f382
Add kcm.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14536 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 07:33:50 +00:00
Luke Howard
c276c9537e
add krb5_store_creds_tag, krb5_ret_creds_tag
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14535 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 07:32:59 +00:00
Luke Howard
93ff9f0443
fix cc_retrieve prototype, add KCM cc_ops
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14534 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 07:32:47 +00:00
Luke Howard
5d93249adc
add _krb5_send_and_recv_tcp
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14533 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 07:32:31 +00:00
Luke Howard
099770ec85
add initial implementation of KCM client library
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14532 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 07:32:09 +00:00
Luke Howard
4de42cbbbb
add krb5_get_init_creds_keyblock (for now - subject to change)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14531 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 07:30:25 +00:00
Luke Howard
6152d507ad
pass all options to cc_retrieve_cred
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14530 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 07:30:04 +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
Luke Howard
83b5139ce2
use cc_retrieve_cred if present rather than enumerating ccache
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14528 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-02 07:29:14 +00:00
Luke Howard
240da19de0
Allow NULL in_options to be passed to krb5_get_init_creds_password()
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14522 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-24 10:32:43 +00:00
Love Hörnquist Åstrand
ebd6d664a1
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14521 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-21 09:11:17 +00:00
Love Hörnquist Åstrand
6cf1196acf
include <roken.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14520 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-21 09:10:57 +00:00
Love Hörnquist Åstrand
65be1e8d8e
include <ctype.h>, cast argument to isspace to unsigned char
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-21 09:09:08 +00:00
Love Hörnquist Åstrand
cf0e5a90f2
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-09 04:26:34 +00:00
Love Hörnquist Åstrand
7da05fbefb
cast argument to isalnum to unsigned char
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14508 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-09 04:23:58 +00:00
Love Hörnquist Åstrand
23f894d712
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14505 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:29:04 +00:00
Love Hörnquist Åstrand
1ddf04ca40
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14499 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:06:02 +00:00
Love Hörnquist Åstrand
7d377c3e98
cast argument to tolower to unsigned char
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14498 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:05:07 +00:00
Love Hörnquist Åstrand
039d507d89
cast argument to isdigit to unsigned char
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14497 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 22:58:38 +00:00
Love Hörnquist Åstrand
5f77418366
cast argument to toupper to unsigned char
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14496 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 22:57:18 +00:00
Love Hörnquist Åstrand
7ee1cf1d33
(hashcaseadd): cast argument to toupper to unsigned char
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 22:55:26 +00:00
Love Hörnquist Åstrand
d697ff390d
drop krb5_{checksum,enctype}_is_disabled
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 21:12:10 +00:00
Love Hörnquist Åstrand
68572cd597
drop krb5_enctype_is_disabled, more text about krb5_enctype_valid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14490 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 21:10:48 +00:00
Love Hörnquist Åstrand
5dc0e19c59
drop krb5_{checksum,enctype}_isdisabled
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14489 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 21:06:04 +00:00
Love Hörnquist Åstrand
8ea83fdc64
drop krb5_checksum_is_disabled, krb5_checksum_valid handles that just fine
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14488 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 20:52:19 +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
69a18af8ac
(krb5_parse_address): filter out dup addresses from getaddrinfo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 17:36:11 +00:00
Love Hörnquist Åstrand
299a0c0048
document krb5_generate_subkey_extended
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14473 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 09:52:29 +00:00
Love Hörnquist Åstrand
5021545677
(man_MANS) += krb5_is_thread_safe.3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14472 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 09:47:42 +00:00
Love Hörnquist Åstrand
8b728dab95
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14471 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-05 09:47:02 +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