Love Hörnquist Åstrand
939b444ca3
prefix typedef\'s and structs with heim_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12438 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-15 13:57:32 +00:00
Love Hörnquist Åstrand
294cccfdf3
avoid unnecessary setting of variable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12433 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-13 15:41:17 +00:00
Love Hörnquist Åstrand
6c76352a76
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-11 15:41:52 +00:00
Love Hörnquist Åstrand
beca19cb05
AIX have broken res_nsearch() in 5.1 (5.0 also ?)
...
so just don't use res_nsearch on AIX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-11 15:41:40 +00:00
Love Hörnquist Åstrand
4650161189
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12430 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:43:37 +00:00
Love Hörnquist Åstrand
6afd02e701
XXX inline COMPILE since automake wont add it
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12429 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:42:56 +00:00
Love Hörnquist Åstrand
431abedcbb
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12428 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:37:35 +00:00
Love Hörnquist Åstrand
3026b3bd70
(verify_krb5): use krb5_cc_clear_mcred
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12427 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:36:28 +00:00
Love Hörnquist Åstrand
63711b92db
(init_tgs_req): in case of error, don't free in the req_body addresses
...
since they where pass in by caller
(find_cred): use krb5_cc_clear_mcred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12423 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:28:34 +00:00
Love Hörnquist Åstrand
91f5bdc308
document krb5_cc_clear_mcred
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12422 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-06 23:24:59 +00:00
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
a7fa272ee4
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12420 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-03 13:38:42 +00:00
Love Hörnquist Åstrand
715020f048
Add probing from the server that the client is still there, also make
...
the client check that the server is probing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12419 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-03 13:36:09 +00:00
Love Hörnquist Åstrand
33222471b9
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12418 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-02 17:52:38 +00:00
Love Hörnquist Åstrand
b24c29b099
(main): add missing ``if (ret)''
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12417 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-02 17:52:27 +00:00
Love Hörnquist Åstrand
a1a43053f6
(find_dynamic_method): if there isn't a prefix, don't load anything
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12415 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-30 10:34:05 +00:00
Johan Danielsson
271e76e634
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12414 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-29 18:51:51 +00:00
Johan Danielsson
4a9b3f573a
* don't ever print sign for unsigned conversions
...
* don't break when right justifying a number past the end of the buffer
* handle zero precision and the value zero more correctly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12413 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-29 18:51:30 +00:00
Love Hörnquist Åstrand
1efa899c5a
Dynamic backend loading, based on patch from Luke Howard <lukeh@PADL.COM>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12411 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-29 12:10:00 +00:00
Love Hörnquist Åstrand
c12e22c5ee
add struct hdb_so_method and HDB_INTERFACE_VERSION
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12410 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-29 12:08:34 +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
89d6ba401a
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12403 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-25 23:58:01 +00:00
Love Hörnquist Åstrand
3fef574a4e
(make_keys): add aes support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12402 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-25 23:56:58 +00:00
Love Hörnquist Åstrand
05881f3847
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12401 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-25 23:36:46 +00:00
Love Hörnquist Åstrand
356775a1a0
fix off by one in the aes case, pointed out by Ken Raeburn
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12400 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-25 23:36:17 +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
af60336dcb
make the aes and sha1 checksum types match draft-ietf-krb-wg-crypto-05
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12387 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-22 03:34:47 +00:00
Love Hörnquist Åstrand
e6d88d56dc
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12386 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-21 22:31:57 +00:00
Love Hörnquist Åstrand
b5984d2675
(v5_convert): rename one of the two c to cred4
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12385 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-21 22:31:09 +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
c36bc39594
use int2HDBFlags/HDBFlags2int
...
From: Alberto Patino <jalbertop@aranea.com.mx >, Luke Howard <lukeh@PADL.COM >
Pointed out by Andrew Bartlett of Samba
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12379 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 12:53:16 +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
04ed8c312b
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12372 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:10:04 +00:00
Love Hörnquist Åstrand
5b4a741593
reorder code so sequence numbers can can be used
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12371 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:08:20 +00:00
Love Hörnquist Åstrand
d4114c6097
remove unused function, indent, add gssapi_msg_order_f that filter gss
...
flags to gss_msg_order flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12369 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:05:13 +00:00