Commit Graph

2571 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
80b7b535a2 (krb5_cc_clear_mcred): new function, clear a krb5_creds to use with
krb5_cc_retrieve_cred


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12421 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:23:05 +00:00
Love Hörnquist Åstrand
310984c158 (krb5_mk_req_internal): when using arcfour-hmac-md5, use an unkeyed
checksum (rsa-md5), since Microsoft calculates the keyed checksum with
the subkey of the authenticator.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12409 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-28 21:05:12 +00:00
Love Hörnquist Åstrand
bd7246b6cb add _krb5_krb_tf_setup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12407 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-28 20:59:59 +00:00
Love Hörnquist Åstrand
068acbc06a (_krb5_krb_tf_setup): create/append v4 credential to a new krb4
ticket file


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12406 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-28 20:56:41 +00:00
Johan Danielsson
b6a7633851 put Nd argument in double quotes since it contains more than 9 words; from wiz
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-27 15:40:03 +00:00
Love Hörnquist Åstrand
809afeb35f add missing " within #if 0, from stefan sokoll <stefansokoll@yahoo.de>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12399 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-25 15:02:17 +00:00
Love Hörnquist Åstrand
5979907af6 improve krb5_set_real_time text
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12397 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-24 05:12:43 +00:00
Love Hörnquist Åstrand
f6ef3a180e improve comment for krb5_set_real_time
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12396 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-24 05:09:42 +00:00
Love Hörnquist Åstrand
4b37d153b9 (krb5_get_forwarded_creds): pass in a krb5_timestamp to krb5_us_timeofday
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12392 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-22 20:49:49 +00:00
Love Hörnquist Åstrand
f02872a9c1 (krb5_mk_error): pass in a krb5_timestamp to krb5_us_timeofday
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12391 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-22 20:47:14 +00:00
Love Hörnquist Åstrand
ca8c289837 (krb5_set_real_time): fix comment and make it work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12390 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-22 20:35:27 +00:00
Love Hörnquist Åstrand
9448a346db implement krb5_set_real_time, used by SAMBA, requested by Luke Howard <lukeh@PADL.COM>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12389 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-22 20:26:47 +00:00
Love Hörnquist Åstrand
de13634e69 add a test for aes kcrypto encrypted data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12383 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-21 05:45:52 +00:00
Love Hörnquist Åstrand
edd4885b10 clean up AES code to use a structure instead of a key array
(_krb5_AES_string_to_default_iterator): set to 4096 as described in
aes draft -04
(derive_key): always remove the key->schedule since its
will contain the wrong (parent key) info


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12382 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-21 05:41:55 +00:00
Love Hörnquist Åstrand
7d2d92fb04 add aes256 test vectors from Ken Raeburn
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12381 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-18 21:42:44 +00:00
Love Hörnquist Åstrand
b981c8861d remove freebsd comment, don't use debug pthread stubs by default
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12377 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:36:12 +00:00
Love Hörnquist Åstrand
efeea68d77 (man_MANS): drop krb5_free_addresses.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12376 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:24:32 +00:00
Love Hörnquist Åstrand
27ad8297dc all this is documented in krb5_address.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12375 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:23:17 +00:00
Love Hörnquist Åstrand
58f2cf9375 add krb5_{de,en}code_ETYPE_INFO2
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12374 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:21:23 +00:00
Love Hörnquist Åstrand
4644344231 add _krb5_AES_string_to_default_iterator
add krb5_string_to_key_salt_opaque()
fix keylengh for keytype_aes256


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12373 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:20:18 +00:00
Love Hörnquist Åstrand
b95d33b7a5 add manpage for: krb5_get_in_cred, krb5_get_in_tkt,
krb5_get_in_tkt_with_keytab, krb5_get_in_tkt_with_password,
krb5_get_in_tkt_with_skey


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12341 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-02 21:46:27 +00:00
Assar Westerlund
eb49552f69 Fix unlock/destroy macros for the non-threaded cases to work. Fix typo.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12339 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-28 20:13:36 +00:00
Love Hörnquist Åstrand
ca77d81243 some more mdoc fixes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12336 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-27 13:51:10 +00:00
Love Hörnquist Åstrand
68ba8507a5 revert previous
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12333 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-26 21:59:54 +00:00
Love Hörnquist Åstrand
c17d918b00 remove again, not yet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12332 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-26 21:58:30 +00:00
Love Hörnquist Åstrand
cb584f6348 pacify mdoclink
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12331 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-26 21:56:28 +00:00
Love Hörnquist Åstrand
0caadd8b18 pacify mdoclint
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12329 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-26 14:09:04 +00:00
Love Hörnquist Åstrand
b74d060a00 document diffrences between mit and heimdal krb5_cc_gen_new
ccache -> credential cache
s/[\t ]+$//


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12328 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-26 12:50:02 +00:00
Love Hörnquist Åstrand
ec8cfb3623 add missing argument to mutex_init
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-16 22:23:48 +00:00
Love Hörnquist Åstrand
8b3ba5532c protect the random initiator with a mutex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-16 20:44:55 +00:00
Love Hörnquist Åstrand
3064229aaf protect the mcc_head with a mutex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-16 20:43:36 +00:00
Love Hörnquist Åstrand
2b842fe389 include heim_threads.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-16 20:42:59 +00:00
Love Hörnquist Åstrand
cec7e2f443 wrapper macros for thread synchronization primitives
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-16 20:41:46 +00:00
Love Hörnquist Åstrand
18cf43dc28 Add all Kerberos principal function to one manpage, add a few more
principal function to it, remove old now dup manpages


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12300 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-15 18:52:42 +00:00
Love Hörnquist Åstrand
f6df5674ea sort sections, from netbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12290 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 22:13:00 +00:00
Love Hörnquist Åstrand
617325e153 .Sh EXAMPLE -> .Sh EXAMPLES, from netbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12289 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 22:11:04 +00:00
Love Hörnquist Åstrand
3eb988218b .Sh EXAMPLE -> .Sh EXAMPLES, sort sections, from netbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12288 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 22:10:28 +00:00
Love Hörnquist Åstrand
a515bf6f94 .Sh EXAMPLE -> .Sh EXAMPLES, mdoc fixes, from netbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12287 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 22:09:16 +00:00
Love Hörnquist Åstrand
58023b2fd9 add .Os, from NetBSD
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 22:07:51 +00:00
Love Hörnquist Åstrand
27a1cca3e5 sort sections, from netbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 22:06:54 +00:00
Love Hörnquist Åstrand
30ea393f82 compatability -> compatibility, from netbsd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 22:03:20 +00:00
Love Hörnquist Åstrand
0ab0c25ce9 add copyright/license
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 21:54:00 +00:00
Love Hörnquist Åstrand
d730cb2b55 add SYNOPSIS and LIBRARY
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 21:53:17 +00:00
Love Hörnquist Åstrand
9ab729d677 add RCSID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 21:52:45 +00:00
Love Hörnquist Åstrand
71569c71b7 uppercase url, from Thomas Klausner <wiz@netbsd.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12276 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 16:44:47 +00:00
Love Hörnquist Åstrand
3dcad24844 ooops, remove cut and paste error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-13 12:32:59 +00:00
Love Hörnquist Åstrand
052858243f draft-ietf-cat-kerb-chg-password-02 and rfc3244 share the response packet
sure more constants now that they exists


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-13 11:28:39 +00:00
Love Hörnquist Åstrand
3ffb098c12 some define for rfc3244
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12268 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-12 16:57:37 +00:00
Love Hörnquist Åstrand
a50c4b3bfc add krb5_change_password and krb5_set_password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-12 16:50:55 +00:00
Love Hörnquist Åstrand
15fc3de6f2 document krb5_change_password and krb5_set_password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12262 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-12 16:48:55 +00:00