Commit Graph

117 Commits

Author SHA1 Message Date
Assar Westerlund
a0b25be494 changed utmp-stuff not to use ut_id at all
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1746 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-20 13:48:32 +00:00
Johan Danielsson
9325498645 HAVE_UTMPX -> HAVE_UTMPX_H. Fix for OSF1. Some cleanup.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1713 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-14 17:37:21 +00:00
Assar Westerlund
5da8f7da41 telnetd cleanup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1695 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-11 06:30:05 +00:00
Johan Danielsson
86cab80d92 Use HAVE_UTMPX_H rather than HAVE_UTMPX.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1661 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-04 05:18:32 +00:00
Assar Westerlund
dd02a92a8b replace sprintf all over the place
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1635 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-02 14:29:33 +00:00
Assar Westerlund
dd39b3368a Do gettimeofday and then copy the data for the sake of those systems
like SGI that can have different timevals in file and memory.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1481 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-23 05:05:17 +00:00
Björn Groenvall
6e801d57f3 Compile under HP-UX 10.
First try to use POSIX termios else SysV termio.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1253 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-02-21 19:21:17 +00:00
Assar Westerlund
b1c16abe85 sys/termio.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1244 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-02-17 21:08:08 +00:00
Assar Westerlund
aeaef3368f *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1200 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-01-27 02:06:00 +00:00
Assar Westerlund
3d7c57acdb clean-up
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1187 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-01-24 23:13:35 +00:00
Assar Westerlund
826057d2b5 test for TIOCSWINSZ instead of incorrectly using TIOCGWINSZ
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1164 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-01-15 21:17:59 +00:00
Assar Westerlund
94cb9a93ac got rid of lots of stupid casts
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1057 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-19 22:48:40 +00:00
Assar Westerlund
6202f22614 removed all stupid (void)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1034 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-17 20:23:48 +00:00
Assar Westerlund
239db0f710 removed all stupid register declarations
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1033 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-17 20:04:43 +00:00
Assar Westerlund
f5d57fec19 Removed SecurID support and send -a otp if require_otp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@995 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-17 00:20:21 +00:00
Johan Danielsson
89a6a2a095 Really remove bad stuff from environment.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@947 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-11 20:51:04 +00:00
Björn Groenvall
cf6e7be0fd Minur changes for HP-UX 10.1.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@889 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-25 16:02:47 +00:00
Assar Westerlund
edb66c9354 SOCKS-support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@860 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-18 05:35:32 +00:00
Assar Westerlund
87db6dcb90 Removed all convex code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@724 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-10 20:35:10 +00:00
Assar Westerlund
351f18b02d NEWINIT, UNICOS7x, UNICOS5: removed
STREAMSPTY: added variable `really_stream'
Now able to handle the case where the OS supports stream ptys but we
run out of them and start using ordinary BSD ones.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@722 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-09 19:35:07 +00:00
Assar Westerlund
1e35a8c714 new option -y for no warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@707 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-02 19:12:33 +00:00
Johan Danielsson
6b58bfe30b Fix for Irix 4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@680 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-24 23:13:03 +00:00
Johan Danielsson
f2e698cc14 Add ifdef for ut_host
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@676 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-24 20:42:05 +00:00
Assar Westerlund
abd01e4efc Include type `int' on all definitions and remove unnecessary
`register'.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@645 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-13 23:37:58 +00:00
Björn Groenvall
5c688469ad Minor security fix.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@636 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-07 16:39:05 +00:00
Björn Groenvall
2f2a472b5a Minor security fixes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@634 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-07 15:34:55 +00:00
Johan Danielsson
292be7852e getptyslave returns void
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@630 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-04 23:08:40 +00:00
Johan Danielsson
ffa1b993a0 Change HAVE_UTMPX_H to HAVE_UTMPX.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@625 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-04 22:41:34 +00:00
Johan Danielsson
5d151b2cc1 Fixed bug with systems lacking logwtmp.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@563 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-06-07 22:29:32 +00:00
Assar Westerlund
0588bacb09 gettimeofday buglet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@558 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-06-05 07:48:40 +00:00
Björn Groenvall
509a2e7241 Fix compile conflicts for HP-UX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@557 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-06-04 21:25:41 +00:00
Johan Danielsson
db1b2a3ae9 Somewhat changed the way utmpx entries are created. It should now work
on both Solaris and IRIX, without stale login information.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@553 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-06-03 01:41:48 +00:00
Johan Danielsson
446b212817 Use MaxHostNameLen and MaxPathLen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@536 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-05-13 02:07:52 +00:00
Unknown User d91-jda
2a8068132e Added flags -z to have telnetd log unauthenticated logins, such as
when using an old telnet client. Unfortunately in most of these cases,
the user name is not known.

There should also be a way to tell the difference between bad
authentication (such as with expired tickets) and no attempt to
provide authentication (such as with an old client).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@279 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-26 16:59:05 +00:00
Unknown User d91-jda
8ac52673ff OSF1 patch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@264 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-11 23:21:10 +00:00
Assar Westerlund
c23bb35fd8 more #ifdefs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@263 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-11 22:15:00 +00:00
Unknown User d91-jda
cc9b280415 Fix for possibly broken I_FIND.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@262 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-11 21:47:21 +00:00
Björn Groenvall
f565996a72 Minor fixup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@261 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-11 17:22:54 +00:00
Unknown User d91-jda
62e8fed286 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@258 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-11 15:14:13 +00:00
Assar Westerlund
fcb08660bc boring includes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@246 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-11 00:38:34 +00:00
Unknown User d91-jda
ac65f7b044 Protoized some more.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@241 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-09 23:52:00 +00:00
Unknown User d91-jda
55db31afbe General cleanup of old and ugly code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@235 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-07 10:48:34 +00:00
Assar Westerlund
c6cf92f26a *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@231 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-04 16:14:59 +00:00
Unknown User d91-jda
c92fc8f075 Removal of huge amounts of dead code.
Telnetd now hopefully works on most modern STREAMS based systems as
well as BSD systems.

It might have broke on some systems that I haven't tested on, like
CRAY with UNICOS5 and Linux ;-)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@227 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-04 15:03:03 +00:00
Unknown User d91-jda
27c4f20d9d *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@213 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-01-08 16:25:20 +00:00
Björn Groenvall
67f906f599 Added RCSID("$Id$");
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@206 ec53bebd-3082-4978-b11e-865c3cabbd6b
1995-12-27 13:25:39 +00:00
Assar Westerlund
29e3943513 Use setpgid instead of setprgp, if available.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@203 ec53bebd-3082-4978-b11e-865c3cabbd6b
1995-12-07 13:11:04 +00:00
Unknown User d91-jda
a445da10c5 More ANSI/ISO 9899-1990 to the people!
Now actually builds (not including util) with DEC "cc -std1" and Sun
"acc -Xc".  There are still major prototype conflicts, but there isn't
much to do about this.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@192 ec53bebd-3082-4978-b11e-865c3cabbd6b
1995-11-12 20:22:06 +00:00
Unknown User d91-jda
f432c2b526 Moved definitions of global variables into global.c rather than doing
#define exern/#include "ext.h".
Possible to configure with external athena tree.
A few AIX changes


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@190 ec53bebd-3082-4978-b11e-865c3cabbd6b
1995-11-04 00:46:14 +00:00
Unknown User d91-jda
1d61424ff6 Various fixes for AIX 4.1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@186 ec53bebd-3082-4978-b11e-865c3cabbd6b
1995-10-28 18:20:04 +00:00