Commit Graph

3034 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
46a77c28e4 pagsh is in section 1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14827 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 10:20:31 +00:00
Love Hörnquist Åstrand
2cc85f5d17 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:54:00 +00:00
Love Hörnquist Åstrand
5c338794d7 use unsigned char * to make sure its not negative when passing it to
is* functions


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14816 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:52:58 +00:00
Love Hörnquist Åstrand
542f17be74 (statcmd): cast argument to isdigit to unsigned char
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:48:33 +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
99c49b8e69 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 13:12:47 +00:00
Love Hörnquist Åstrand
3aa848647e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 19:22:19 +00:00
Love Hörnquist Åstrand
3ee2d21177 ignore login_protos.h, its a built file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14767 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 16:33:08 +00:00
Love Hörnquist Åstrand
d0cc9002ed print out client principla of delegated credential
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14762 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 14:47:41 +00:00
Love Hörnquist Åstrand
96e25e02a1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14756 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 19:33:50 +00:00
Love Hörnquist Åstrand
50d9ed5566 clean_ttyname might be unused, mark it so with __attribute__
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 19:33:29 +00:00
Love Hörnquist Åstrand
e74cf57105 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14751 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 18:57:54 +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
c41860a8ee use NULL as last argument to execl, not 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14747 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-06 11:23:54 +00:00
Love Hörnquist Åstrand
2697d2a0f3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14746 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-06 11:23:17 +00:00
Love Hörnquist Åstrand
b88827c01d use NULL as last argument to execl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-06 11:20:32 +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
f7a0ee5acf print size_t by casting to unsigned long
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-03 19:53:32 +00:00
Love Hörnquist Åstrand
4e447ca6d4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14695 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-28 22:48:26 +00:00
Love Hörnquist Åstrand
02805ed17d From FreeBSD:
Correct a pair of buffer overflows in the telnet(1) command:

   (CAN-2005-0468) A heap buffer overflow in env_opt_add() and related
   functions.

   (CAN-2005-0469) A global uninitialized data section buffer overflow in
   slc_add_reply() and related functions.

  As a result of these vulnerabilities, it may be possible for a malicious
  telnet server or active network attacker to cause telnet(1) to execute
  arbitrary code with the privileges of the user running it.

  Security: CAN-2005-0468, CAN-2005-0469
  Security: FreeBSD-SA-05:01.telnet
  Security: http://www.idefense.com/application/poi/display?id=220&type=vulnerabilities
  Security: http://www.idefense.com/application/poi/display?id=221&type=vulnerabilities

  These fixes are based in part on patches
  Submitted by:   Solar Designer <solar@openwall.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14693 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-28 22:43:34 +00:00
Love Hörnquist Åstrand
52589a0be9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14683 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 16:25:06 +00:00
Love Hörnquist Åstrand
692e21b3e7 remove setting of DES_check_key, all code uses DES_set_key_checked
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14682 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 16:22:39 +00:00
Love Hörnquist Åstrand
07757ea5a2 use DES_set_key_checked
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14681 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 16:19:31 +00:00
Love Hörnquist Åstrand
de0e232d51 free memory, make error strings match
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14664 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 04:37:30 +00:00
Love Hörnquist Åstrand
9276f222b9 use print_gss_name, print server name too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14662 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 03:17:30 +00:00
Love Hörnquist Åstrand
8e12e63ee3 (print_gss_name): common code for printing gss name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14661 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 03:13:14 +00:00
Love Hörnquist Åstrand
b925aac02c Make constent with rest of the gssapi test programs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14659 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 02:52:26 +00:00
Love Hörnquist Åstrand
555571d923 allow specifing port to connect to
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14603 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-01 07:47:32 +00:00
Love Hörnquist Åstrand
fd05385450 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14577 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-12 14:34:05 +00:00
Love Hörnquist Åstrand
d592d092c7 man_MANS += pagsh.1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-12 14:27:01 +00:00
Love Hörnquist Åstrand
17dc617a7f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-12 14:24:06 +00:00
Love Hörnquist Åstrand
aeedc46505 add --cache-type that allows the user to control the resulting
credential cache type, inherit the type from the invoking process


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-12 14:23:28 +00:00
Love Hörnquist Åstrand
fb681cc82f manpag for pagsh
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-12 14:21:01 +00:00
Love Hörnquist Åstrand
5236181a15 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:39:02 +00:00
Love Hörnquist Åstrand
2830ca741b get_v4_tgt only used when compileing with kerberos 4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:38:01 +00:00
Love Hörnquist Åstrand
0380823194 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:20:32 +00:00
Love Hörnquist Åstrand
915454f2fd cast argument to toupper to unsigned char
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:17:58 +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
bfbbff5ad9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14501 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:14:33 +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
Love Hörnquist Åstrand
6e6b40f359 (kfd_match_version): cast argument to islower to unsigned char
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 22:27:28 +00:00
Johan Danielsson
8746bf1201 (tgets): return whatever fgets returns
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14321 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-25 14:02:00 +00:00
Johan Danielsson
6765dd6fbe x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-23 12:56:20 +00:00
Johan Danielsson
473c16c144 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14241 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 11:35:40 +00:00
Johan Danielsson
34510fca0d rename loop to rshd_loop
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14240 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 11:35:07 +00:00
Johan Danielsson
e5b80c785f pass errsock status to init_ivecs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14239 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 11:34:43 +00:00
Johan Danielsson
af952334df rename loop() to rsh_loop()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14238 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 11:34:15 +00:00
Johan Danielsson
af993645bc (loop): pass errsock status to init_ivecs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 11:33:42 +00:00
Johan Danielsson
ab3a0c1b71 fix proto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 11:33:10 +00:00
Johan Danielsson
9179e1d2f7 (init_ivecs): if we don't have an errsock the ivecs should point to
the same data


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14235 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 11:32:54 +00:00