Commit Graph

958 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
5f19fc6a9f use krb5_cc_new_unique()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25033 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:02:35 +00:00
Love Hörnquist Åstrand
5939a1b0f8 use krb5_cc_new_unique()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:02:16 +00:00
Love Hörnquist Åstrand
1747257c60 don't set j to 0, since it never read again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24924 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:24:15 +00:00
Love Hörnquist Åstrand
54d8d8504c Freeglob is not read again, just free.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:24:05 +00:00
Love Hörnquist Åstrand
f4680be3ce Plug memory leaks, from Roman Divacky.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:25:22 +00:00
Love Hörnquist Åstrand
a285f3339e drop krb4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24534 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-27 22:52:56 +00:00
Love Hörnquist Åstrand
580ba0e781 remove krb4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24500 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:10:19 +00:00
Love Hörnquist Åstrand
2038ffd351 drop krbv4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24496 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:09:28 +00:00
Love Hörnquist Åstrand
a21969d84d drop krb4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:09:16 +00:00
Love Hörnquist Åstrand
0bed824d0f drop RCSID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24426 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:42:06 +00:00
Love Hörnquist Åstrand
506125c95a use 'gssapi/*.h'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24422 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:41:29 +00:00
Love Hörnquist Åstrand
3594dc3672 use gssapi/*.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24393 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:36:49 +00:00
Love Hörnquist Åstrand
25a7b258ea make sure we dont print off the end of the gss_buffer_t, they are defined to not included NULL, in heimdal they are but thats an implementation detail, dont teach people about that. From: Christian Krause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-12 04:19:52 +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
aed77c3b59 ASL_KEY_FACILITY missing on Mac OS X, 10.4, From Mans Nilsson.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23732 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:04:51 +00:00
Love Hörnquist Åstrand
d30899de91 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23225 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-31 08:15:49 +00:00
Love Hörnquist Åstrand
5a2f80dbaf Use the correct length for unmap, msync
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 14:14:09 +00:00
Love Hörnquist Åstrand
ed34fe2309 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23216 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 14:13:43 +00:00
Love Hörnquist Åstrand
ddb80b9210 Rewrite sliding window code so it doesn't have a integer overrun.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 03:37:58 +00:00
Love Hörnquist Åstrand
6ffc3daa37 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23212 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:22:30 +00:00
Love Hörnquist Åstrand
5956372480 Try sliding mmap window over memory file (10MB window), works better with larger files (ie doesn't fail).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:22:15 +00:00
Love Hörnquist Åstrand
adf02cb72e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 10:44:18 +00:00
Love Hörnquist Åstrand
da109cd27f Use asl for logging ftpd wtmp messages.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 10:44:14 +00:00
Love Hörnquist Åstrand
9d1d030025 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22886 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:34 +00:00
Love Hörnquist Åstrand
c008e1015f Attached is a patch that fixes the following:
- The argument for setsockopt is an int, not a size_t. This breaks on
  64bit OS's causing the buffer not to be set (or triggers a kernel
  bug on AIX due to size_t being parsed as an int and setting the
  socket buffer to zero due to bad kernel error checking).
- Add a check to see if the socket buffer is large enough already,
  don't make it smaller if it is.

From Niklas Edmundsson


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22701 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-21 21:37:32 +00:00
Love Hörnquist Åstrand
4e58a4c1cd use krb5_free_cred_contents
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22419 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-13 09:41:54 +00:00
Love Hörnquist Åstrand
2e2950b961 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 12:45:39 +00:00
Love Hörnquist Åstrand
33918e0432 Fix pointer vs strict alias rules.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 12:45:25 +00:00
Love Hörnquist Åstrand
49a4cd47b8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21226 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:16:13 +00:00
Love Hörnquist Åstrand
7a6904bd9d if no mech have no session, its ok, just don't call it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21225 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:16:02 +00:00
Love Hörnquist Åstrand
785dfc3af3 provide prototype for sec_userok().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21224 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:15:13 +00:00
Love Hörnquist Åstrand
6acd69acc8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21223 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:11:37 +00:00
Love Hörnquist Åstrand
07a870bdf1 move ksetpag after initgroups to make it work on Linux when its without syscall hooks to change sys_setgroups preserve the pag. From abo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21222 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:11:14 +00:00
Love Hörnquist Åstrand
6091b013cf x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 05:01:24 +00:00
Love Hörnquist Åstrand
77e06cc8fe don't clean yacc/lex files in CLEANFILES, maintainers clean will do that for us.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21031 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 05:00:27 +00:00
Love Hörnquist Åstrand
cc4333b758 remove cvs ignore files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 03:09:59 +00:00
Love Hörnquist Åstrand
7ba2b2006c rename des to hcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 08:29:05 +00:00
Love Hörnquist Åstrand
103231471e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 10:18:16 +00:00
Love Hörnquist Åstrand
1dee1f3502 Add man_MANS to EXTRA_DIST
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18292 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 10:18:01 +00:00
Love Hörnquist Åstrand
7160948ea6 Add comment by seteuid call isn't not needed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17873 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-08 21:06:11 +00:00
Love Hörnquist Åstrand
7154d3b11d Check return values from seteuid, prompted by MIT advisory.
Thanks to Tom Yu at MIT, and Michael Calmer and Marcus Meissner at SUSE.
Either of CVE-2006-3083 or CVE-2006-3084.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-08 21:03:26 +00:00
Love Hörnquist Åstrand
057d255d5c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17691 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-27 13:51:54 +00:00
Love Hörnquist Åstrand
4c6a364bf5 (gss_userok): create a local krb5_context and use that instead of the
libgssapi context (that might not exist).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17690 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-27 13:49:06 +00:00
Love Hörnquist Åstrand
a997bbde9f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17451 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 11:16:31 +00:00
Love Hörnquist Åstrand
5118c90498 Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17450 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 11:11:43 +00:00
Love Hörnquist Åstrand
7faccdb5b9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17049 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-10 17:33:37 +00:00
Love Hörnquist Åstrand
1bb14914c1 (gss_init): add missing ; from Ted Percival
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16800 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-23 16:53:26 +00:00
Love Hörnquist Åstrand
3d2c2ccee8 Add undocument flags and spelling, from Ted Percival <Ted.Percival@quest.com>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16799 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-23 16:41:09 +00:00
Johan Danielsson
28d362af42 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16765 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-27 10:07:44 +00:00