Commit Graph

12616 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
8efac579af Specify lazy loading. From Milosz Kmieciak.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23516 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:32 +00:00
Love Hörnquist Åstrand
9407642396 catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:07 +00:00
Love Hörnquist Åstrand
225a6e45af catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23512 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:02 +00:00
Love Hörnquist Åstrand
78b0cb1d12 remove unread assignment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:52 +00:00
Love Hörnquist Åstrand
ba8498ce09 catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:47 +00:00
Love Hörnquist Åstrand
734a7cdf4f return whatever krb5_copy_data returnd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:33 +00:00
Love Hörnquist Åstrand
11752006c3 ignore error from crypto_destro to catch more intresting error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:28 +00:00
Love Hörnquist Åstrand
f05f1107ce catch error and return error from krb5_openlog().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23505 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:24 +00:00
Love Hörnquist Åstrand
8b628c715f catch error from iterate_entries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:19 +00:00
Love Hörnquist Åstrand
fe4424b80e check right error variable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:15 +00:00
Love Hörnquist Åstrand
4a4c73c2c4 keep return from ret.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23502 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:07 +00:00
Love Hörnquist Åstrand
6172e895f9 remove allocated_ctx.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23501 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:00 +00:00
Love Hörnquist Åstrand
dddffe995f Delete context on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23500 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:55 +00:00
Love Hörnquist Åstrand
f462f342a0 don't bother setting verify_mic if its not used after this.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23499 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:49 +00:00
Love Hörnquist Åstrand
0aaf4a7721 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:13 +00:00
Love Hörnquist Åstrand
21f5c84036 Catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:08 +00:00
Love Hörnquist Åstrand
95af0790b0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:03 +00:00
Love Hörnquist Åstrand
df987a3b03 Catch store failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23492 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:56 +00:00
Love Hörnquist Åstrand
9365904540 Catch hx509_certs_init() to fail.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:51 +00:00
Love Hörnquist Åstrand
bcf674235d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23489 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:39 +00:00
Love Hörnquist Åstrand
769b160644 Not init m, return never used (overwritten later).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23488 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:33 +00:00
Love Hörnquist Åstrand
1d7cce4014 make max_sz int since it will passed to %*s
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:29 +00:00
Love Hörnquist Åstrand
dfb1db9505 delegate policy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23486 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:24 +00:00
Love Hörnquist Åstrand
ac33d8447b More bits from the KDF.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23485 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:18 +00:00
Love Hörnquist Åstrand
a9a96e407e Add gsskrb5_[gs]et_time_offset
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23484 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:12 +00:00
Love Hörnquist Åstrand
04b69a4a76 add GSS_C_DELEG_POLICY_FLAG
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23482 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:01 +00:00
Love Hörnquist Åstrand
c69717db61 If we used GSS_C_DELEG_POLICY_FLAG, trust KDC, still trust realm configuration.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23481 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:57:56 +00:00
Love Hörnquist Åstrand
7a77c27995 add GSS_C_DELEG_POLICY_FLAG = 32768
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:57:44 +00:00
Love Hörnquist Åstrand
ba2127c788 The "kaserver" part of Heimdal occasionally issues invalid AFS tokens
(here "occasionally" means for certain users in certain realms).

In lib/krb5/v4_glue.c, in the routine storage_to_etext the ticket is
padded to a multiple of 8 bytes. If it is already a multiple of 8
bytes, 8 additional 0-bytes are added.

This catches the AFS krb4 ticket decoder by surprise: unless the
ticket is exactly 56 bytes, it only supports the minimum necessary
padding.  It detects the superfluous padding by comparing the ticket
length decoded to the advertised ticket length.

Hence a 7-letter userid in "cern.ch" which resulted in a ticket of 40
bytes, got "padded" to 48 bytes which the rxkad decoder rejected.

From Rainer Toebbicke.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23475 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-28 15:01:05 +00:00
Love Hörnquist Åstrand
7b5981996c sprinle O_CLOEXEC, from Andrew Bartlett
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23474 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-28 08:49:43 +00:00
Love Hörnquist Åstrand
b566548643 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23471 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:17:49 +00:00
Love Hörnquist Åstrand
96641812d5 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:17:35 +00:00
Love Hörnquist Åstrand
c50ae6b63c xfree, close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23469 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:17:12 +00:00
Love Hörnquist Åstrand
e9c6b517fd xfree, close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23468 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:16:56 +00:00
Love Hörnquist Åstrand
1e91bb390c close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23467 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:16:37 +00:00
Love Hörnquist Åstrand
57666b9434 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:16:15 +00:00
Love Hörnquist Åstrand
257fd5237c close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23465 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:15:47 +00:00
Love Hörnquist Åstrand
e55772d6cf close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23464 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:15:21 +00:00
Love Hörnquist Åstrand
5bf46d38c5 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23463 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:15:06 +00:00
Love Hörnquist Åstrand
9b7124911d close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23462 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:14:42 +00:00
Love Hörnquist Åstrand
4aa7c5df3c close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23461 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:14:20 +00:00
Love Hörnquist Åstrand
4a57355c29 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23460 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:14:03 +00:00
Love Hörnquist Åstrand
23b92e0f89 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23459 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:13:31 +00:00
Love Hörnquist Åstrand
39ecfa21bd close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23458 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:13:12 +00:00
Love Hörnquist Åstrand
fa8b905e46 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23457 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:12:56 +00:00
Love Hörnquist Åstrand
f3fb4ac367 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23456 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:12:32 +00:00
Love Hörnquist Åstrand
66719e3277 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23455 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:12:03 +00:00
Love Hörnquist Åstrand
b227a5249d close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23454 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:11:44 +00:00
Love Hörnquist Åstrand
a49e280f58 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23453 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:11:16 +00:00
Love Hörnquist Åstrand
f85ea619a2 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23452 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:10:54 +00:00