Commit Graph

23695 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand 3c012ef3fc close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:08:03 +00:00
Love Hörnquist Åstrand 30e523c1a5 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:07:47 +00:00
Love Hörnquist Åstrand a165b922e8 set log file close on exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23443 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:07:25 +00:00
Love Hörnquist Åstrand 0609deca0e Add cloexec.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23442 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:07:13 +00:00
Love Hörnquist Åstrand c7b7b347c5 Wrapper function for close on exec().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23441 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:05:11 +00:00
Love Hörnquist Åstrand 4bf196c898 export krb5_set_kdc_sec_offset
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23436 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 20:49:48 +00:00
Love Hörnquist Åstrand 6fcc601db9 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23435 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 20:49:35 +00:00
Love Hörnquist Åstrand f9dc9da0a9 No reply in non-MUTUAL mode, but we don't know that its non-MUTUAL
mode yet, thats inside the 8003 checksum.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23433 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:44:26 +00:00
Love Hörnquist Åstrand 59bb0003e1 Add Stefan Metzmacher.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:41:49 +00:00
Love Hörnquist Åstrand d847a7a67f Reset minor_status to 0.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:41:36 +00:00
Love Hörnquist Åstrand 9ca267f328 Always return GSS_S_CONTINUE_NEEDED, pointed out from Metze.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23430 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:41:16 +00:00
Love Hörnquist Åstrand b332277316 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23429 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:40:57 +00:00