Commit Graph

22657 Commits

Author SHA1 Message Date
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
77c0066e58 Not init len, return never used (overwritten later).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23490 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:44 +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
737c369012 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23483 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:07 +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
44c3bc04d7 Add -shared to build shared library. From Brian May.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-29 09:18:38 +00:00
Love Hörnquist Åstrand
539ad8942b add Rainer Toebbicke
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23478 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-28 15:01:21 +00:00
Love Hörnquist Åstrand
e00b8680dd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23477 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-28 15:01:16 +00:00
Love Hörnquist Åstrand
dddacbd40e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23476 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-28 15:01:11 +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
c3f4d6a7e4 less libtool
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23473 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:18:48 +00:00
Love Hörnquist Åstrand
e7866f36cb run libtool out of .
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23472 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:18:23 +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
Love Hörnquist Åstrand
b2eed84f4c close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23451 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:10:30 +00:00
Love Hörnquist Åstrand
ae31169249 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23450 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:10:10 +00:00
Love Hörnquist Åstrand
ffd78392d3 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23449 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:09:39 +00:00
Love Hörnquist Åstrand
d6c66ef961 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23448 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:09:22 +00:00
Love Hörnquist Åstrand
dbc55c9bec indent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23447 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:09:05 +00:00
Love Hörnquist Åstrand
c7c6b6e527 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23446 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:08:37 +00:00