Assar Westerlund
e3d3bbceb5
DCE stuff
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8525 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-02 05:33:48 +00:00
Assar Westerlund
34406dd27b
(*): make sure to always call time, ctime, and gmtime with `time_t's.
...
there were some types (like in lastlog) that we believed to always be
time_t. this has proven wrong on Solaris 8 in 64-bit mode, where they
are stored as 32-bit quantities but time_t has gone up to 64 bits
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8068 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-26 19:48:27 +00:00
Assar Westerlund
cae7f2dce0
(addarg): make void (return value isn't check anyway). fatal error
...
when malloc fails
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7696 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-01 11:53:59 +00:00
Assar Westerlund
bf75fac82a
large strc{py,at}_truncate -> strlc{py,at} replacement
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6984 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-16 20:41:57 +00:00
Assar Westerlund
0e52d82e0b
(rmut): free utxp
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6745 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-05 09:51:45 +00:00
Assar Westerlund
cc0a3e7102
(rmut): work around utmpx strangness. From Miroslav Ruda
...
<ruda@ics.muni.cz >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6719 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:06:20 +00:00
Assar Westerlund
770a0aab91
update to new format for cpp define SunOS
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6480 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-22 02:58:32 +00:00
Assar Westerlund
69a24aca75
(start_login): print a different warning with `-a otp'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6426 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-06 02:47:59 +00:00
Johan Danielsson
e496873b3a
_CRAY -> HAVE_STRUCT_UTMP_UT_ID
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5788 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-29 14:11:24 +00:00
Johan Danielsson
009112b3ee
remove unused variables
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5500 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-11 13:49:48 +00:00
Johan Danielsson
84bd0825e7
HAVE_UT_* -> HAVE_STRUCT_UTMP*_UT_*
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5458 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-01 09:50:29 +00:00
Johan Danielsson
aaae186ab9
merge new-crypto branch
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5332 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-11 21:03:59 +00:00
Johan Danielsson
a5f54865d4
merge strcpy_truncate branch
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5027 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-09 19:25:40 +00:00
Assar Westerlund
cdeae4733c
(start_login): moved `user' so it works even if !defined(HAVE_UTMPX_H)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3584 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-10 22:07:24 +00:00
Johan Danielsson
35ad156323
HAVE_UT_EXIT
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3505 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-18 15:15:40 +00:00
Johan Danielsson
7c164dc23c
remove unintended commit of issue-code
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3502 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-17 19:30:15 +00:00
Johan Danielsson
2c71d0405b
Fix for duplicate `-- user'.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3501 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-17 19:28:02 +00:00
Assar Westerlund
f3750c9f04
clean-up
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1790 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-01 03:14:38 +00:00
Assar Westerlund
2a4486f71c
(start_login): Set `ut_id' if we're using utmpx
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1785 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-30 02:21:04 +00:00
Johan Danielsson
a56d44b4ec
Cray rmut(3) needs ut_id.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1777 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 17:08:48 +00:00
Assar Westerlund
65cb0254ca
Only include <utmp.h> and <utmpx.h> once
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1776 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 16:23:54 +00:00
Assar Westerlund
1a3ad193cf
Check for `_PATH_WTMP'.
...
Remove stupid macros.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1775 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 15:18:20 +00:00
Assar Westerlund
f1213f7610
Use `_getpty' if there's one
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1768 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 07:37:16 +00:00
Assar Westerlund
04a4f72a3d
removed const-ness from clean_ttyname
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1761 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 01:14:33 +00:00
Assar Westerlund
d781a5536f
utmp stuff now seems to be compatible with login
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1752 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-20 20:37:18 +00:00
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