Love Hörnquist Åstrand
9d57c47c64
(_krb5_get_default_principal_local): add, for use of functions that in
...
ccache layer to avoid recursive calls.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 19:12:19 +00:00
Love Hörnquist Åstrand
f6fd1c2537
document krb5_keyblock_init
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 16:39:54 +00:00
Love Hörnquist Åstrand
3c0343f2c1
Add krb5_keyblock_init to allocate an fill in a keyblock from key data.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14791 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 16:27:24 +00:00
Love Hörnquist Åstrand
9dd70b312a
(process_pa_data_to_key): also check for KRB5_PADATA_PK_AS_REP_19,
...
From: Douglas Engert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14757 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 20:15:18 +00:00
Love Hörnquist Åstrand
a15822844f
print size_t by casting to unsigned long
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14736 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 17:54:50 +00:00
Love Hörnquist Åstrand
4d54830246
one more v6 range test
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14732 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 14:22:08 +00:00
Love Hörnquist Åstrand
01d4d3ef29
Argument to create_new_ccache is a principal, not a credential cache name.
...
Clean up lossage related to this problem.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14730 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 14:17:00 +00:00
Love Hörnquist Åstrand
8663e85292
(krb5_address_prefixlen_boundary,krb5_free_address): use find_atype
...
when we are dealing with a kerberos address type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 12:04:41 +00:00
Love Hörnquist Åstrand
401620865e
size_t vs int + fix printf
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14725 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 11:12:31 +00:00
Love Hörnquist Åstrand
6611feed76
Since the decode can't make out the diffrence between PA-PK-AS-REP-19
...
and PA-PK-AS-REQ-Win2k, try harder to verify both cases
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14722 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 08:54:45 +00:00
Love Hörnquist Åstrand
e0d75a3766
make generation of pa data into a switch instead of a bitmask
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14721 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 08:24:01 +00:00
Love Hörnquist Åstrand
6ac6552a8a
const poison
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14707 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-31 00:47:55 +00:00
Love Hörnquist Åstrand
61e8cc87ed
wrap IPv6 test code with HAVE_IPV6
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14705 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-31 00:15:32 +00:00
Love Hörnquist Åstrand
8835d48518
test parse IPv6 RANGE addresses
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14704 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-31 00:13:28 +00:00
Love Hörnquist Åstrand
1fffb1a13a
implement mask boundary for IPv6
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14703 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-31 00:11:14 +00:00
Love Hörnquist Åstrand
f0683a224b
TESTS += test_addr
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14692 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-28 19:20:16 +00:00
Love Hörnquist Åstrand
d188c2271b
simple test for addresses
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14691 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-28 19:18:21 +00:00
Love Hörnquist Åstrand
90fff550fa
make RANGE parse prefixlen style addresses too, fix printing of RANGE
...
addresses, add krb5_address_prefixlen_boundary
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14690 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-28 19:16:43 +00:00
Love Hörnquist Åstrand
9c4d1ce62a
stop memory leak in example, expand on wildcards
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14688 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-28 15:05:43 +00:00
Love Hörnquist Åstrand
6d819f21b9
spelling, from Tomas Olsson
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14684 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-26 10:04:48 +00:00
Love Hörnquist Åstrand
7c6b360f3a
(make_ccred_from_cred): addresses is filled in now, remove comment
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 18:01:15 +00:00
Love Hörnquist Åstrand
d87eb9758e
add mutex for global variables, clean up returned error codes,
...
implement storing addresses into the ccapi
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14665 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 17:41:22 +00:00
Love Hörnquist Åstrand
e502ee6379
AES is enabled by default, remove ifdefs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-17 00:42:05 +00:00
Love Hörnquist Åstrand
fdb02ca44d
use hex encoder from roken
...
AES is enabled by default, remove ifdefs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-17 00:34:12 +00:00
Love Hörnquist Åstrand
00c5d0af9f
more static and unsigned issues
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14639 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-15 19:11:25 +00:00
Love Hörnquist Åstrand
256ec57f94
fix signedness issues, prompted by report of Magnus Ahltorp
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14638 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-15 14:49:04 +00:00
Love Hörnquist Åstrand
144fc12c0e
more text about how to free returned resources
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14634 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-13 15:07:13 +00:00
Love Hörnquist Åstrand
4b695a4a24
handle the -25 generation path
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14632 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-10 05:39:21 +00:00
Love Hörnquist Åstrand
244e0b3971
do error handling and catch programmers errors
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14631 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-09 23:28:10 +00:00
Love Hörnquist Åstrand
81e92ae5b3
use KRB5_PADATA_PK_AS_REQ_19
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14630 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-09 22:59:39 +00:00
Love Hörnquist Åstrand
19c78d1e03
fold in pk-init-25 asn1 changes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-09 22:39:17 +00:00
Love Hörnquist Åstrand
b68c2887d2
use generated oid's
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14627 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-09 15:31:39 +00:00
Love Hörnquist Åstrand
f69e7ee138
use the new generated oid functions
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14626 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-08 22:57:22 +00:00
Love Hörnquist Åstrand
2b0b4dc044
update to the asn1 structures used in -25's
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-08 22:17:46 +00:00
Love Hörnquist Åstrand
7015659927
bump version to 21:0:4
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14600 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-24 15:51:02 +00:00
Love Hörnquist Åstrand
6084387c52
(DES_string_to_key_int): must check for weak keys after doing the
...
DES_cbc_cksum
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14592 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 18:41:40 +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
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
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