Commit Graph

360 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
Love Hörnquist Åstrand
fa19c7c28b Indent.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16650 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-24 08:16:08 +00:00
Love Hörnquist Åstrand
f74a40ff85 Check return value from asprintf instead of string != NULL since it
undefined behavior on Linux. From Björn Sandell


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-22 12:49:00 +00:00
Johan Danielsson
a703774dcd document -x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 09:48:31 +00:00
Johan Danielsson
930f8ed46a implement cprotect (from MIT)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16163 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 09:46:56 +00:00
Johan Danielsson
bc8df2efca add -x (encrypt) option; implement cprotect (from MIT); make sure we
CCC if switching to clear-text command channel


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 09:46:42 +00:00
Johan Danielsson
8e29e3cb6f if doing command line encryption (-x), ignore prot commands in .netrc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16161 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 09:44:24 +00:00
Johan Danielsson
0ef51c20cf add -x (encrypt) option
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16160 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 09:42:47 +00:00
Love Hörnquist Åstrand
99a6bdb769 Fix shadow warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15677 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:33:08 +00:00
Love Hörnquist Åstrand
5116c50655 Fix shadow warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15676 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:30:48 +00:00
Love Hörnquist Åstrand
8c7c8ea323 fix shadow warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15673 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:19:33 +00:00
Love Hörnquist Åstrand
70e4fce904 Add Kerberos 5 klist, old patch from Tomas Nyström (remove krb4 support).
Support klist in client for kerberos 5 clase.
Clean up delegation of gss tokens and do afslog.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 17:08:11 +00:00
Love Hörnquist Åstrand
4e312517de (gss_adat): avoid leaking memory
(gss_auth): always try next kname if there is one, independant of min_stat


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15644 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 08:29:29 +00:00
Love Hörnquist Åstrand
a4a3844b88 avoid const warning, use sin4 instead of sin to avoid shadow warning,
free target_name


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15642 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 08:02:39 +00:00
Love Hörnquist Åstrand
4f35833952 keep track of if CCC was passed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15611 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 15:45:13 +00:00
Love Hörnquist Åstrand
819578daa1 handle string trunctions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 13:09:26 +00:00
Love Hörnquist Åstrand
0be6a3d662 use strlcat
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14934 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 20:14:10 +00:00
Love Hörnquist Åstrand
d6b87a47d9 use strlcpy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 19:54:58 +00:00
Love Hörnquist Åstrand
94ad9d0c80 cast size_t to unsigned long
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-20 10:34:12 +00:00
Love Hörnquist Åstrand
bb46111aad (mget): cast char to unsigned char to make sure its not negative when
passing it to tolower


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:45:12 +00:00
Love Hörnquist Åstrand
b2320af622 fix 3 'var' might be used uninitialized warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14750 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 18:57:29 +00:00
Love Hörnquist Åstrand
a9cb9acffa MacOS is also a unix that doesn't define __unix__/unix
While here, rewrite this part of the function to not modify that
string, but rather take a copy of it and them modify is, all this just
to pacify gcc


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14739 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 18:16:00 +00:00
Love Hörnquist Åstrand
ee872ac323 cast argument to is* to unsigned char
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14502 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:16:44 +00:00
Love Hörnquist Åstrand
c84e1ed765 cast argument to tolower to unsigned char
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14500 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:11:12 +00:00
Johan Danielsson
0624b4457e replace INCLUDES with AM_CPPFLAGS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 11:55:29 +00:00
Love Hörnquist Åstrand
61c7512638 send ABOR protect with security layer if its there
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-20 14:05:31 +00:00
Johan Danielsson
feee26f3a1 reverse help strings for --no-gss-bindings and --no-gss-delegate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-16 18:10:35 +00:00
Love Hörnquist Åstrand
359795961a add ftp_do_gss_delegate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13233 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-19 00:54:52 +00:00
Love Hörnquist Åstrand
52b83f8c31 (getargs): negative flag for delegating gss creds
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13232 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-19 00:53:11 +00:00
Love Hörnquist Åstrand
bcc0935fca (ftp_do_gss_delegate): delegate creds (default on)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13231 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-19 00:49:08 +00:00
Love Hörnquist Åstrand
54fc57ccb5 s/des_read_pw_string/UI_UTIL_read_pw_string/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:37:03 +00:00