Commit Graph

599 Commits

Author SHA1 Message Date
Björn Groenvall 1caf2ca337 Use HAVE_UTMPX_H to check if the system does or does not use utmpx files.
Minor restructuring for maintainability.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@919 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-01 16:55:05 +00:00
Björn Groenvall fc21989df0 Even when there are utmpx files on this system we should also log to
the utmp files. If there are no utmp files we of course don't have to
log to them.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@918 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-01 16:46:47 +00:00
Björn Groenvall 4816a046b8 Document -L /bin/login switch.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@916 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-31 17:21:51 +00:00
Assar Westerlund 50879f729a client and ipaddr should be char [] so that we can store the names there.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@915 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-29 11:33:03 +00:00
Assar Westerlund 5e5b36eeda save copies of addresses that otherwise get overwritten.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@914 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-29 11:32:21 +00:00
Assar Westerlund 97ce787dec Only define `update' if we actually use utmpx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@913 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-29 08:10:29 +00:00
Björn Groenvall 1dfbddf997 If there is no record in utmpx that can be reused grow the file.
Suggested by klas@nada.kth.se.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@912 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-28 17:37:52 +00:00
Björn Groenvall 50d3e51784 Formatting for readability.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@911 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-28 17:18:24 +00:00
Assar Westerlund daa8dbb66f removed stupid garbage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@909 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-28 16:25:42 +00:00
Assar Westerlund b5852d51fe less warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@908 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-27 23:52:16 +00:00
Assar Westerlund 75340efd5a removed shadowing variable declarations.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@907 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-27 23:25:43 +00:00
Assar Westerlund 790ebd5d94 typo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@905 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-27 18:32:37 +00:00
Assar Westerlund b7c7d25320 Use @LIB_tgetent@
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@904 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-27 17:59:15 +00:00
Assar Westerlund a9c38ba425 Use @LIB_tgetent@ and @LIB_setupterm@
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@903 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-27 17:59:00 +00:00
Johan Danielsson fec9e52d71 Fix copyright
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@901 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-27 16:50:18 +00:00
Björn Groenvall 0d38996f20 Test the experimental UIDL hack by default.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@898 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-27 12:11:50 +00:00
Assar Westerlund c1e3bd0671 Both kx and kxd requires @XauWriteAuth@
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@896 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-26 22:52:29 +00:00
Assar Westerlund aaafb2bf9c less warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@894 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-26 21:41:16 +00:00
Björn Groenvall 3e317bb818 Fix copyright.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@893 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-26 16:05:04 +00:00
Björn Groenvall a29d2d826f Removed redundant -I/../../include
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@892 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-25 20:47:01 +00:00
Björn Groenvall bf75c22ae2 More consistent use of CRLF.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@891 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-25 20:44:28 +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 fd95bc6220 New option `-a otp' to allow OTPs but no ordinary passwords in cleartext.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@888 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-25 05:56:18 +00:00
Assar Westerlund 086544629e Link `ftpd' with -lotp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@887 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-25 05:55:37 +00:00
Assar Westerlund cc2014c8c7 new files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@885 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-25 05:51:14 +00:00
Assar Westerlund 8ff6aa59a0 clean-up
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@882 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-25 04:13:39 +00:00
Johan Danielsson 338c2664b5 Change version number.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@881 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-24 18:23:01 +00:00
Assar Westerlund 9931d3dc3e replaced mkdirhier-sh by mkinstalldirs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@861 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-19 05:26:09 +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 76c1e7812c Option `-i'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@859 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-17 20:06:54 +00:00
Assar Westerlund 11b16009b1 clean-up
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@858 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-17 19:48:25 +00:00
Assar Westerlund 492eeb1220 Removed old garbage and added SKEY.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@857 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-17 19:48:02 +00:00
Assar Westerlund 576d77483b clean up
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@856 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-17 19:46:17 +00:00
Assar Westerlund f1c349921c SKEY-support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@855 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-17 19:39:05 +00:00
Assar Westerlund 921c4c3aff Added support for spaces in passwords and S/Key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@854 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-17 19:38:51 +00:00
Assar Westerlund b8dc2786d1 Moved some variables into struct pop
(main): Added support for `-i'


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@853 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-17 19:38:24 +00:00
Assar Westerlund d30ef8d57e New command "HELP".
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@852 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-17 19:37:30 +00:00
Assar Westerlund c80e5768ee Add SKEY-stuff.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@851 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-17 19:34:09 +00:00
Assar Westerlund 3ce7399a11 Added code for handling the case of using `bison' and having no
`alloca'.  Alloca is usually never called anyway, so we just use
`malloc'.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@850 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-14 19:22:14 +00:00
Assar Westerlund 32de34c5f8 All static variables are now global.
(doit_conn, doit): Turn on TCP_NODELAY.
(create_and_write_cookie, suspicious_address): Moved to common.c


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@849 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-14 19:19:39 +00:00
Assar Westerlund b8bc4e17af (connect_host): Try all addresses of `host'
(connect_host): Turn on TCP_NODELAY.
(doit): prepare for TCP-only hosts.
(usage,main): add `-t'
(main): Passive mode is possible again.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@848 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-14 19:18:02 +00:00
Assar Westerlund f4d7d83ecd More #ifdefs for include files.
Declarations for global variables.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@847 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-14 19:14:53 +00:00
Assar Westerlund 16d793a9d7 Moved lots of variables to common.c
(get_xsockets): Try to chmod dirname(`X_UNIX_PATH')

(get_xsockets): Turn on TCP_NODELAY on TCP connections.

(create_and_write_cookie, suspicious_address): Moved here


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@846 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-14 19:12:22 +00:00
Assar Westerlund 10f3cd6dbf Start the `xterm' process correctly.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@843 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-12 12:28:44 +00:00
Assar Westerlund 3e4a6a8c51 PDC are unable to give correct instructions to their users and
therefore we have to add strange directories to the PATH.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@837 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-09 21:24:36 +00:00
Assar Westerlund da612b15ff Support sending arguments to telnet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@836 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-09 20:59:17 +00:00
Assar Westerlund ec7107add1 rsh can reside in path or %bindir%
support extra arguments to xterm (from <jas@pdc.kth.se>)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@835 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-09 20:56:06 +00:00
Assar Westerlund e9cb8fee82 Try to find some kind of terminal emulator for X.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@834 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-09 20:42:07 +00:00
Assar Westerlund 630a0591f2 Look for kx in $PATH and %bindir%
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@833 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-09 17:25:25 +00:00
Assar Westerlund 313f839b57 (get_xsockets): `mkdir' the correct directory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@832 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-09 17:24:52 +00:00