Love Hörnquist Åstrand
b962bee342
Add test_hostname to check_PROGRAMS but not TESTS, I have no same dns to use.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15966 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-23 20:20:19 +00:00
Love Hörnquist Åstrand
61302516a6
Testprogram for krb5_expand_hostname() and krb5_expand_hostname_realms().
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15965 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-23 20:18:55 +00:00
Love Hörnquist Åstrand
0f7be5896b
(krb5_425_conv_principal_ex2): Remove shadowing variable.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-23 08:34:40 +00:00
Love Hörnquist Åstrand
13ef94d8d7
(dns_find_realm): Fix const warnings, plug memory leak. From: Stefan
...
Metzmacher <metze@samba.org >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15950 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-23 08:14:02 +00:00
Love Hörnquist Åstrand
d0fdf95591
Document what happens with NULL to krb5_config_free_strings
...
(nothing). Mdoc nit.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15949 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-23 08:09:34 +00:00
Love Hörnquist Åstrand
825cc1ee2a
Fix printing of size_t.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15942 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-22 14:05:20 +00:00
Love Hörnquist Åstrand
d78bed5eaa
Save the request buffer so that pre-auth mechanism that needs it can
...
verify the reply.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15933 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-13 08:25:32 +00:00
Love Hörnquist Åstrand
e890ac91be
Rename logf to avoid shadowing.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15931 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 13:43:46 +00:00
Love Hörnquist Åstrand
9e2b81fa10
Fix the version number for fcc-mit-ticketflags.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 13:32:11 +00:00
Love Hörnquist Åstrand
a20802f00e
Revert previous, I was confused.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15927 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 13:31:19 +00:00
Love Hörnquist Åstrand
d79c64be70
Document fcc-mit-ticketflags in COMPATIBILITY section.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15925 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 10:16:28 +00:00
Love Hörnquist Åstrand
d48840959b
(fcc_store_cred): default to MIT style ticket flags.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15924 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 10:11:47 +00:00
Love Hörnquist Åstrand
329cb0079e
Update prototype for krb5_create_checksum.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15921 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 09:01:22 +00:00
Love Hörnquist Åstrand
f7aeb827d3
Implement verification of asChecksum, now client side code is using
...
-27 of the pk-init draft.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15919 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 08:53:00 +00:00
Love Hörnquist Åstrand
bf6c904f6c
add tests vectors from "Liqiang(Larry) Zhu" <lzhu@windows.microsoft.com>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15866 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-10 10:07:21 +00:00
Love Hörnquist Åstrand
4f3db39a0d
even more bits, not done yet
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-10 07:03:54 +00:00
Love Hörnquist Åstrand
a4b7d96497
Add krb5_verify_opt_alloc and krb5_verify_opt_free.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-09 16:32:38 +00:00
Love Hörnquist Åstrand
4e9c85d51c
Document krb5_verify_opt_alloc and krb5_verify_opt_free.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-09 16:29:31 +00:00
Love Hörnquist Åstrand
b24968272f
Adapt to IMPLICIT changes in CMS module.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15714 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-23 10:42:01 +00:00
Love Hörnquist Åstrand
73a3559e78
TESTS += test_pkinit_dh2key
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15689 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-20 16:28:29 +00:00
Love Hörnquist Åstrand
5f10d59828
framework for testing _krb5_pk_octetstring2key
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15688 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-20 16:27:58 +00:00
Love Hörnquist Åstrand
a15603afa7
(_krb5_pk_octetstring2key): make sha1 output unsigned char to match openssl
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15681 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-20 07:22:43 +00:00
Love Hörnquist Åstrand
d9eb674e71
(krb5_rd_cred): don't leak memory
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15643 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 08:22:50 +00:00
Love Hörnquist Åstrand
0f1c19edb9
(krb5_get_credentials_with_flags): only call krb5_cc_retrieve_cred
...
once, and plug memory leak.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15639 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 07:38:02 +00:00
Love Hörnquist Åstrand
237641e2ca
update (c)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15634 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 06:08:07 +00:00
Love Hörnquist Åstrand
f1542ef9cd
(fkt_start_seq_get_int): check return value from krb5_storage_from_fd
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15632 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 05:34:29 +00:00
Love Hörnquist Åstrand
88be64c770
(pk_rd_pa_reply_dh): client do not contribute to the DH when the
...
server doesn't support the cached DH request.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 22:31:22 +00:00
Love Hörnquist Åstrand
cba53a17f2
(_krb5_pk_octetstring2key): fix arguments
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15628 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 22:29:52 +00:00
Love Hörnquist Åstrand
23dae960cd
clean up pk-init DH support, not finished yet;
...
improve error reporting
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15623 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 13:39:51 +00:00
Love Hörnquist Åstrand
a70cf1c3a6
(_krb5_pk_octetstring2key): string2key function used in pk-init-25
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15622 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 13:34:47 +00:00
Love Hörnquist Åstrand
85b3e3de27
comment out paramenter name in typedef functions to avoid shadow warnings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15608 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 14:47:21 +00:00
Love Hörnquist Åstrand
3283e2cb08
make input data to krb5_encrypt{,_ivec} const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15604 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 12:33:36 +00:00
Love Hörnquist Åstrand
5fdbeb4408
(TESTS): add test_crypto_wrapping
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15599 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 01:36:25 +00:00
Love Hörnquist Åstrand
1f25cc530f
(wrapped_length): the underived encrypted types checksum are all
...
unkeyed (matches the code in encrypt_internal() and
encrypt_internal_special())
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15598 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 01:35:31 +00:00
Love Hörnquist Åstrand
ce99b902fb
ETYPE_ARCFOUR_HMAC_MD5_56 isn't not supported
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15597 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 01:31:43 +00:00
Love Hörnquist Åstrand
09d3315e85
test encryption wrapping
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15596 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-08 22:27:41 +00:00
Love Hörnquist Åstrand
c69ac762f9
(time_encryption): free cleartext buffer
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-08 22:17:33 +00:00
Love Hörnquist Åstrand
3625ef3caa
(krb5_kt_get_entry): clear error string when returning a new error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 01:14:42 +00:00
Love Hörnquist Åstrand
901add3df7
krb5_kt_close frees all resources, even on error.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 01:02:48 +00:00
Love Hörnquist Åstrand
267661730c
update (c)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 01:00:29 +00:00
Love Hörnquist Åstrand
05e1bb8d35
clarify that krb5_kt_close frees all resources, even on error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 00:58:25 +00:00
Love Hörnquist Åstrand
5081addd90
(krb5_verify_init_creds): `entry' unused, remove
...
From: "Henry B. Hotz" <hotz@jpl.nasa.gov >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15555 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 00:48:16 +00:00
Love Hörnquist Åstrand
e13a796976
Spelling, from David Love
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-05 19:44:36 +00:00
Love Hörnquist Åstrand
43e3b9ca50
add krb5_425_conv_principal_ext2 that work just like
...
krb5_425_conv_principal_ext but takes a context variable for the
verification function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15531 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 01:38:15 +00:00
Love Hörnquist Åstrand
1dcdb9c1a0
optionally compile in support for string2key
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15527 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-29 22:20:33 +00:00
Love Hörnquist Åstrand
b1f75c5100
Documentation for password quality control. From: "James F. Hranicky" <jfh@cise.ufl.edu>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-23 18:43:34 +00:00
Love Hörnquist Åstrand
75ba24459a
(password_quality_entries): add min_length and min_classes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-23 18:33:28 +00:00
Love Hörnquist Åstrand
c3ca297275
indent
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 07:49:33 +00:00
Love Hörnquist Åstrand
4372de7bb8
(krb5_rd_rep): check if KRB5_AUTH_CONTEXT_DO_TIME set and use that as
...
a que that timestamp should be checked, DCE-STYLE gssapi needs to be
able to tweek this
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 07:47:16 +00:00
Love Hörnquist Åstrand
85588d6046
(krb5_string_to_key): unconst password
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 05:03:45 +00:00