Commit Graph

376 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
16eabf8e4c add an invalid protection level to the enum 2011-07-24 14:00:23 -07:00
Love Hörnquist Åstrand
7aaba443bc add NTMakefile and windows directories 2011-07-17 12:16:59 -07:00
Love Hornquist Astrand
0879b9831a remove trailing whitespace 2011-05-21 11:57:31 -07:00
Thomas Klausner
db8e287e41 Use "Fl Fl" for long options.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2011-05-21 11:54:14 -07:00
Love Hornquist Astrand
553ad48e38 remove label no longer used 2011-05-17 21:49:40 -07:00
Luke Howard
84f5aebc10 use gss_userok 2011-03-20 20:50:19 +11:00
Love Hornquist Astrand
c6bbdb545b First drop of Windows build infrastructure from Secure Endpoints 2009-11-24 12:12:53 -08:00
Love Hornquist Astrand
20a06042da require local 2009-07-30 15:52:22 +02:00
Love Hornquist Astrand
00658426b2 c->c_name always set 2009-07-30 14:20:22 +02:00
Love Hornquist Astrand
98b23aa4c7 (sendrequest) local must be set [CID-45] 2009-07-30 14:17:45 +02:00
Love Hornquist Astrand
30b87b0633 Dont look too careful on local [CID-23] 2009-07-30 14:16:20 +02:00
Love Hornquist Astrand
fab281f465 (setnmap): make sure strchr returned a string [CID-65] 2009-07-30 13:00:34 +02:00
Love Hornquist Astrand
dfffe6d567 Check allocation error and free on error [CID-114] 2009-07-30 10:32:33 +02:00
Love Hörnquist Åstrand
d07832d6d7 rename ruserpass to ruserpassword to not collide with uclibc, prompted by [HEIMDAL-534]
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25331 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-15 23:07:07 +00:00
Love Hörnquist Åstrand
a619d66c48 Use S_ISREG
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25231 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:45:13 +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
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