Commit Graph

2926 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
e4794726e4 Free more of the allocated memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16342 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-02 14:14:43 +00:00
Love Hörnquist Åstrand
bc23e0056b Memory keytab are now named and refcounted.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 12:41:22 +00:00
Love Hörnquist Åstrand
76fe170bdd Test that memory keytab are refcounted.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 12:40:50 +00:00
Love Hörnquist Åstrand
b6037cc29a Index by name and start reference counting on entries.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16325 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 12:40:22 +00:00
Love Hörnquist Åstrand
d6931c3fea (krb5_address_type): add KRB5_ADDRESS_NETBIOS (20)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16322 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-30 15:20:32 +00:00
Love Hörnquist Åstrand
116c7fa6f6 Remove usage of krb5_enctype_to_keytype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16317 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-30 11:25:45 +00:00
Love Hörnquist Åstrand
68caf40b2c (libdefaults_entries): add default_cc_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 18:59:19 +00:00
Love Hörnquist Åstrand
56538b207f Update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16310 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 18:22:51 +00:00
Love Hörnquist Åstrand
755229f6d3 (krb5_verify_ap_re2): check timestamp in authenticator
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16309 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 15:55:34 +00:00
Love Hörnquist Åstrand
ca1a379a41 (check_transited): explain the TR-type 0 better and why it matters.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 14:14:26 +00:00
Love Hörnquist Åstrand
d7b6e1f223 test krb5_cc_get_prefix_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16307 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 09:11:12 +00:00
Love Hörnquist Åstrand
6ccf928a53 (krb5_cc_get_prefix_ops): change the behavior to return NULL when its
not found, and fcc when the name starts with a '/'. Almost matches
behavior in other parts of the code, but can't really do that since
the name passed in to this function may only contain the prefix itself
without the colon.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 09:10:47 +00:00
Love Hörnquist Åstrand
459932f3ef (krb5_cc_get_prefix_ops): if there are not colon (:) in the name, its
a file credential cachce


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-29 08:44:21 +00:00
Love Hörnquist Åstrand
d3d5392e05 (krb5_get_forwarded_creds): use session key for delegated credentials
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16300 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-28 20:43:02 +00:00
Love Hörnquist Åstrand
27546db2b4 (krb5_kt_get_full_name): new function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-25 21:46:40 +00:00
Love Hörnquist Åstrand
52e365482b Split encryption and s2k iterations to diffrent counters, 38seconds of
aes256 s2k is way too long.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16290 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-24 09:57:50 +00:00
Love Hörnquist Åstrand
2f31564fc4 Add timing code for s2k function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16289 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-24 09:54:49 +00:00
Love Hörnquist Åstrand
52bb24b476 s/RFC2140/RFC4120/ From Andrew Bartlet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-02 08:36:42 +00:00
Love Hörnquist Åstrand
333284ed2e Document krb5_cc_get_full_name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16274 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-01 09:40:23 +00:00
Love Hörnquist Åstrand
91f8f1ce51 (krb5_cc_get_full_name): Add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-01 09:36:41 +00:00
Love Hörnquist Åstrand
881e730620 Spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16248 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-27 13:21:42 +00:00
Love Hörnquist Åstrand
9b2fa77b4d (krb5_ticket_get_authorization_data_type): understand
KRB5_AUTHDATA_IF_RELEVANT and KRB5_AUTHDATA_AND_OR (but have
KRB5_AUTHDATA_KDC_ISSUED commented out for now)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-27 13:18:25 +00:00
Love Hörnquist Åstrand
65447e1a4b Install krb5_set_password.3, Johnny Lam <jlam@pkgsrc.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16230 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 09:08:18 +00:00
Love Hörnquist Åstrand
9319b9dce1 Fix mdoc for krb5_encrypt_EncryptedData, Johnny Lam <jlam@pkgsrc.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16229 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-26 08:50:09 +00:00
Love Hörnquist Åstrand
993ae3a82f (_krb5_dh_group_ok): if not enough bits are generated from the DH groups, fail.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-21 17:18:38 +00:00
Love Hörnquist Åstrand
8a06dac4ff Add option to require binding between reply and response.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-20 09:29:19 +00:00
Love Hörnquist Åstrand
79146c3e71 Try both ReplyKey and ReplyKey-Win2k for the Windows case to support
the updated -09 protocol (using asChecksum). Tell KDC we support this
by sending KRB5-PADATA-PK-AS-09-BINDING in the pa-data.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16192 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 21:15:41 +00:00
Love Hörnquist Åstrand
42ec2bd7b5 Test copy FILE -> FILE, and MEMORY -> MEMORY too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 17:36:09 +00:00
Love Hörnquist Åstrand
9d8ec6711a Test krb5_cc_copy_cache and krb5_cc_cache_match.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16188 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 17:31:39 +00:00
Love Hörnquist Åstrand
cc7855865c (krb5_cc_cache_match): add function that iterates over all credential
caches for a user and returns a match.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 17:30:40 +00:00
Love Hörnquist Åstrand
0a2f9014cc Fix all prototypes, they got krb5_context argument wrong.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16184 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 07:39:01 +00:00
Love Hörnquist Åstrand
959cc8f926 Update .Dd and (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 07:37:27 +00:00
Love Hörnquist Åstrand
4269d4e6dc Add krb5_cc_start_seq_get and an example.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16182 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-19 07:35:19 +00:00
Love Hörnquist Åstrand
6fcc9f4922 Specify that krb5_unparse_name sets name to NULL on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16178 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-16 10:42:17 +00:00
Johan Danielsson
7e25d8fb09 remove dump_config as there's a --dumpconfig for verify_krb5_conf now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16177 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-13 15:44:21 +00:00
Love Hörnquist Åstrand
45d2b74ced Add example how to use krb5_get_credentials.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-13 14:24:49 +00:00
Love Hörnquist Åstrand
8592c8225b Clarifiying comment.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-13 03:30:14 +00:00
Love Hörnquist Åstrand
e42d007ce9 Rename private to opt_private.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 12:45:27 +00:00
Love Hörnquist Åstrand
296d9d6457 rename element private to opt_private to make c++ picky compilers less upset.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 12:41:04 +00:00
Love Hörnquist Åstrand
5d64a49fa7 (krb5_get_init_creds_opt): rename element private to opt_private to
make cpp picky compilers less upset.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 12:39:28 +00:00
Love Hörnquist Åstrand
5bf49e3df3 Don't install krb5.moduli for now.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-09 09:33:13 +00:00
Love Hörnquist Åstrand
66baee8800 (_krb5_krbhost_info_move): new function
(_krb5_free_krbhst_info): expose to internal use


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-08 15:40:50 +00:00
Love Hörnquist Åstrand
740f6b5deb add Q for group 14
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-08 15:39:42 +00:00
Love Hörnquist Åstrand
ffa6f55bd4 Prepare to pass down a krb5_krbhst_info into the pre-auth mechs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16152 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-08 15:34:53 +00:00
Love Hörnquist Åstrand
6b484c39a5 Inline short functions, share more code, rename COMPAT_27 to
COMPAT_IETF, pass down a krb5_krbhst_info for verification of KDC
info, and general cleaning up.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-08 15:32:14 +00:00
Love Hörnquist Åstrand
c3c4927a70 Install krb5.moduli in sysconfdir.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 12:20:11 +00:00
Love Hörnquist Åstrand
92c70eb57b Describe format.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 12:19:10 +00:00
Love Hörnquist Åstrand
d392e84793 moduli file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 12:17:49 +00:00
Love Hörnquist Åstrand
3c93988850 rename moduli file to SYSCONFDIR "/krb5.moduli"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 12:08:02 +00:00
Love Hörnquist Åstrand
2ba37a88dd Add forward declaration for krb5_dh_moduli.
Add define for MODULI_FILE.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 11:44:49 +00:00