Commit Graph

20430 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
6a7734667a (_krb5_pk_load_id): fail directoy for first calloc.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:52:29 +00:00
Love Hörnquist Åstrand
14537be0f4 (get_reply_key*): don't expose freed memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:49:42 +00:00
Love Hörnquist Åstrand
8ab80e3238 Host is static memory, don't free.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:48:09 +00:00
Love Hörnquist Åstrand
5bb7b3bc79 (decrypt_internal_derived): make sure length is longer then confounder
+ checksum.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:45:21 +00:00
Love Hörnquist Åstrand
3a5f005244 (_gsskrb5_pseudo_random): add missing break.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21129 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:28:44 +00:00
Love Hörnquist Åstrand
c0661b67f2 Set *minor_status unconditionallty, its done later anyway.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:26:50 +00:00
Love Hörnquist Åstrand
ab8094ae4c Init get_mic to 0.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:23:14 +00:00
Love Hörnquist Åstrand
fd3ca527e1 Free memory in failure case, found by beam.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:19:59 +00:00
Love Hörnquist Åstrand
23e434119d Handle mech_type being NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:11:07 +00:00
Love Hörnquist Åstrand
cd23060c10 Handle cred_name being NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:08:24 +00:00
Love Hörnquist Åstrand
0dea8f59be Free memory in error case, found by beam.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:05:26 +00:00
Love Hörnquist Åstrand
e332912100 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:00:56 +00:00
Love Hörnquist Åstrand
d959db48cc Merge from samba config.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21121 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:00:40 +00:00
Love Hörnquist Åstrand
d7cd92f569 Init data to something.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 19:48:02 +00:00
Love Hörnquist Åstrand
204c44be9e (sl_make_argv): use memmove since we are dealing with overlapping strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21119 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 19:45:53 +00:00
Love Hörnquist Åstrand
d9f989af5b spoon feed kadmin diffrently
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21118 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 19:41:33 +00:00
Love Hörnquist Åstrand
5629b0ab3d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21117 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 16:49:02 +00:00
Love Hörnquist Åstrand
e09b9899cf (makedir-in-tree): depend on INFO_DEPS.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21116 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 16:46:01 +00:00
Love Hörnquist Åstrand
694e1e9271 more supressions in runtime link editors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 13:29:19 +00:00
Love Hörnquist Åstrand
50f2521922 Remove printing of ntlmv2 hash, was running wrong version of the kdc.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 13:17:23 +00:00
Love Hörnquist Åstrand
6a64e4d44c provide better error string for the common failure case.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 12:59:32 +00:00
Love Hörnquist Åstrand
2ee2c22b2e More logging for ntlm v2 digest hash mismatch case.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 12:59:12 +00:00
Love Hörnquist Åstrand
1bd1e8e985 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21111 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 10:52:30 +00:00
Love Hörnquist Åstrand
c561d08c04 export get_dbinfo as krb5_kdc_set_dbinfo and call from users. This to allows libkdc users to to specify their own databases
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 10:52:20 +00:00
Love Hörnquist Åstrand
b1f3eb8118 (pk_rd_pa_reply_enckey): simplify handling of content data (and avoid
leaking memory).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21109 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 10:49:08 +00:00
Love Hörnquist Åstrand
a8e512f05f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21108 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 10:44:34 +00:00
Love Hörnquist Åstrand
2bb7d2da84 Unknown suppression in runtime link editor
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21107 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 10:27:15 +00:00
Love Hörnquist Åstrand
30a0cc5d6a (_kdc_db_fetch): set error string for failures.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21106 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 10:18:11 +00:00
Love Hörnquist Åstrand
3b9777f5ac x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21105 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 05:20:58 +00:00
Love Hörnquist Åstrand
5e25789281 Use /etc/shadow, not /dev/shadow, pointed out by Andrew Bartlett
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21104 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 05:19:45 +00:00
Love Hörnquist Åstrand
ed07eec3c8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21103 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 03:56:14 +00:00
Love Hörnquist Åstrand
08fa7ba08b add rand-timer.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 03:55:28 +00:00
Love Hörnquist Åstrand
2561a961e3 Provide timer prototypes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21101 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 03:53:46 +00:00
Love Hörnquist Åstrand
58055ddfc9 Fall back to gattering data from timer and secret files, this is
really the last resort.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 03:51:21 +00:00
Love Hörnquist Åstrand
a6fb942d8e Pick up timing diffrences in the timeing info from realtime timer,
only in use as a last resort.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21099 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 03:48:47 +00:00
Love Hörnquist Åstrand
a00947d55f Add hc_RAND_timer_method.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21098 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 03:45:44 +00:00
Love Hörnquist Åstrand
fae08f960f Introduce subtypes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21097 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-16 07:00:49 +00:00
Love Hörnquist Åstrand
8ee7c3c5bc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21096 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-15 20:03:03 +00:00
Love Hörnquist Åstrand
2430aab0de Use KRB5_AUTHDATA_INITIAL_VERIFIED_CAS.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21095 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-15 20:01:45 +00:00
Love Hörnquist Åstrand
a4e2b83667 Drop ad-initial-verified-cas.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-15 19:53:52 +00:00
Love Hörnquist Åstrand
65071433b0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21093 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-15 19:48:06 +00:00
Love Hörnquist Åstrand
ad678a46ef Add KRB5-AUTHDATA-INITIAL-VERIFIED-CAS.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-15 19:47:46 +00:00
Love Hörnquist Åstrand
347f286c8b Commit workaround for LH (disabled).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21091 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-14 01:08:37 +00:00
Love Hörnquist Åstrand
a48a647b4e Fix testcase for unparse_display.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21090 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 23:47:28 +00:00
Love Hörnquist Åstrand
120472ae06 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21089 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 19:30:27 +00:00
Love Hörnquist Åstrand
272ac7eac4 Make the pkinit nonce signed (like the kerberos nonce).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21088 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 19:29:49 +00:00
Love Hörnquist Åstrand
5286ace71e tell user when they got a pk-init request with pkinit disabled.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 18:19:08 +00:00
Love Hörnquist Åstrand
8399f4f198 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21086 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 06:40:18 +00:00
Love Hörnquist Åstrand
f622a16e97 Add hx509_cert_init_data and use everywhere
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21085 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 06:39:53 +00:00
Love Hörnquist Åstrand
8554301502 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21084 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 02:12:48 +00:00