Commit Graph

22 Commits

Author SHA1 Message Date
Love Hornquist Astrand
687db64c56 Patch from Secure Endpoints/Asanka Herath for windows support 2009-12-21 08:45:28 +01:00
Love Hörnquist Åstrand
942a821fab remove RCSID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-04 06:17:40 +00:00
Love Hörnquist Åstrand
6264d0b528 catch error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24849 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:29 +00:00
Love Hörnquist Åstrand
26e3cb68a6 fix compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24374 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:33:40 +00:00
Love Hörnquist Åstrand
98383d2bcf use krb5_data_free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24342 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:28:19 +00:00
Love Hörnquist Åstrand
b2db6cefa0 heimdal is smaller w/o the v4 compat functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23963 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:22:02 +00:00
Love Hörnquist Åstrand
03babea1e3 switch to krb5_clear_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:55:39 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
4f023f744b provide i18n hooks and renew krb5_create_checksum_iov from comments from metze
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23733 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:06:34 +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
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
d542833a1f use krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:26:18 +00:00
Love Hörnquist Åstrand
5fed824f37 its vs it\'s etc. From Bjorn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-14 20:04:50 +00:00
Love Hörnquist Åstrand
e7708a53d6 If its a Kerberos 4 error-code, remove the et BASE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-16 05:13:08 +00:00
Love Hörnquist Åstrand
3933016756 return more interesting error codes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 20:56:21 +00:00
Love Hörnquist Åstrand
cc3ac67d05 (_krb5_krb_rd_req): if ticket contains address 0, its ticket less and
don't really care about from_addr. return better error codes.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21523 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 18:37:19 +00:00
Love Hörnquist Åstrand
348b5d79c4 Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17442 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 09:31:15 +00:00
Love Hörnquist Åstrand
93f0be5d42 Use the new unsigned integer storage types. Fail that the address
doesn't match, not the reverse.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17426 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 09:21:07 +00:00
Love Hörnquist Åstrand
3dfde09cb0 Avoid using free memory, found by IBM checker.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:39:54 +00:00
Love Hörnquist Åstrand
ea79507d4f simplify error handling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 13:44:02 +00:00
Love Hörnquist Åstrand
aa80eaa1a7 Implement enough of kerberos 4 protocol to be a KDC, move the v4 bits over here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-23 19:36:40 +00:00