Commit Graph

1886 Commits

Author SHA1 Message Date
Assar Westerlund
daed744f7f Initialize the `lasts' to NULL before calling strtok_r the first time.
With our strtok_r it's not necessary, but the man-page on SGIs says it
should be done.

Be more careful with the return value from strtok_r


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1789 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-01 03:13:48 +00:00
Assar Westerlund
3631f08c0a do install correctly even if there are no programs to install
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1788 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-01 01:45:26 +00:00
Assar Westerlund
20047feaed changed order of includes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1787 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-30 17:24:06 +00:00
Assar Westerlund
4fc60aacd1 (utmpx_update): Set `ut_id' if we're using utmpx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1786 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-30 02:21:41 +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
df6707a883 Fix SIGURG bug.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1784 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-29 18:22:08 +00:00
Assar Westerlund
abff0b80c6 _PATH_DEVNULL needed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1783 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-28 05:38:09 +00:00
Assar Westerlund
4c995e830f added daemon
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1782 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-28 05:23:39 +00:00
Johan Danielsson
7d45bf6ab7 Add contexts to many functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1781 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-26 20:26:02 +00:00
Björn Groenvall
dfaeb5c3ea According to hearsay the token lifetime should be even if we don't
know the proper ViceId.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1780 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-26 17:38:24 +00:00
Johan Danielsson
b4f396648e Remove XTND, and XTND XMIT. Rename XTND XOVER to XOVER.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1779 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 18:50:57 +00:00
Johan Danielsson
e40377974e Zero local address.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1778 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 17:44:38 +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
1f499a90c6 Check for `_PATH_WTMP'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1774 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 15:17:56 +00:00
Assar Westerlund
6ca5505eef (SYST): Check for `__unix'. This is (apparently) a standard with many
representations.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1773 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 14:38:49 +00:00
Assar Westerlund
5d51ed8f10 (setpeer): Check for `__unix'. This is (apparently) a standard with
many representations.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1772 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 14:38:27 +00:00
Assar Westerlund
3d638b4de6 (retrieve): file must exist to apply a command to it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1771 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 13:49:00 +00:00
Assar Westerlund
6d38183c86 (retrieve): Generalise list of commands and basename argument.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1770 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 13:36:39 +00:00
Assar Westerlund
2d7738bc02 (ftpd_popen): Try standard binary if the one in ~ftp fails.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1769 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 13:35:53 +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
Johan Danielsson
5e16bd277e Use mkstemp.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1767 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 02:48:29 +00:00
Johan Danielsson
d17842e090 +mkstemp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1766 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 02:40:25 +00:00
Johan Danielsson
36c0ba1517 Some cleanup.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1765 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 02:36:43 +00:00
Johan Danielsson
7d0d793c35 mkstemp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1764 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 02:17:49 +00:00
Johan Danielsson
ed9498d10c +mkstemp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1763 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 02:17:28 +00:00
Assar Westerlund
f6f877376b code for checking the correct functioning of *nprintf is now #ifdef
PARANOIA


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1762 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 02:00:31 +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
1ebf8e5148 removed inline' from des_set_key'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1760 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-24 21:23:51 +00:00
Björn Groenvall
d7d631eec7 Remove libeditliline.* in uninstall target
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1759 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-23 14:23:05 +00:00
Björn Groenvall
41714d89d7 MD5 support in crypt(3).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1758 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-22 14:41:13 +00:00
Björn Groenvall
fc86080ec8 Fix for socks5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1757 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-21 09:23:00 +00:00
Assar Westerlund
b11990bad4 made `new_login' const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1756 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-20 22:07:49 +00:00
Assar Westerlund
154f8de95d fix
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1755 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-20 22:05:47 +00:00
Assar Westerlund
fc40b7509c Added LOG_DAEMON
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1754 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-20 20:38:05 +00:00
Assar Westerlund
df507197af clean-up
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1753 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-20 20:37:48 +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
c82515b578 Add support for logging to wtmpx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1751 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-20 20:30:24 +00:00
Björn Groenvall
b5159d95c0 Accept strings in standard Internet notation (except the broadcast
address).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1750 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-20 19:57:03 +00:00
Björn Groenvall
6e74b9101d Avoid redundant multiple recursion in install targets
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1749 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-20 18:58:41 +00:00
Björn Groenvall
4b6d3e99e6 Made things compile with socks5-v1.0r1.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1748 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-20 18:40:42 +00:00
Assar Westerlund
a2053e93b8 die
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1747 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-20 18:35:42 +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
Assar Westerlund
1ee9f247d1 no set_utid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1745 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-20 13:47:59 +00:00
Assar Westerlund
a09e3c0b8d handle case where there's no wtmpx (such as HP-UX 10)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1744 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-20 13:46:51 +00:00
Assar Westerlund
6985187245 restructured code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1743 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-20 13:46:21 +00:00
Assar Westerlund
9fd688975e new file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1742 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-20 12:11:05 +00:00
Assar Westerlund
fbf2dc3aba Added HAVE_STRTOK_R so it can be used in libkrb as well.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1741 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-19 03:05:47 +00:00
Assar Westerlund
49eaf831ec Use bcopy' if there is no memmove'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1740 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-19 03:05:26 +00:00