Assar Westerlund
56d530b451
(get_local_xsocket): try to bind the socket instead of checking for
...
existence with lstat.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@744 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 21:13:23 +00:00
Johan Danielsson
7ee8ca0553
Reap children
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@743 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 16:54:01 +00:00
Johan Danielsson
584687bcd5
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@742 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 16:30:56 +00:00
Johan Danielsson
4345835c38
Save display socket.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@741 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 16:30:09 +00:00
Johan Danielsson
fe8dde47bb
Don't close remote socket.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@740 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 16:27:54 +00:00
Johan Danielsson
8ec9e5d7ec
Cleanup when remote side exits.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@739 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-15 16:27:33 +00:00
Johan Danielsson
234a5f7a3a
Hack for systems that lack setitimer (like crays).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@738 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 21:11:14 +00:00
Johan Danielsson
403e1eb526
* -> krb_net_*
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@737 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 04:22:27 +00:00
Johan Danielsson
ab0afe3e7c
foo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@736 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 03:13:11 +00:00
Johan Danielsson
2d0d525b27
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@735 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 02:45:02 +00:00
Johan Danielsson
aface2fa24
Cleanup.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@734 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 02:13:56 +00:00
Johan Danielsson
6ba7a91147
-D option to not mangle display.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@733 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:55:54 +00:00
Assar Westerlund
2322e86659
(doit): Send over the display number and the authority file actually
...
used to kx.
(create_and_write_cookie): New function to generate and write into a
file a local cookie used between this pseudo-server and the clients on
this host.
(start_session): New function to check and remove the local cookie
before the data is sent over to `kx'.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@732 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:20:15 +00:00
Assar Westerlund
5910bad6f8
(display_num, xauthfile): New variables.
...
Now `kx' prints out the values of those two variables and then goes to
the background to enable some script to set these on the other host.
(start_session): New function that adds a local cookie before sending
the rest of the connection to the local X-server.
(main): Also recognize "unix" as a local DISPLAY.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@731 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:18:30 +00:00
Assar Westerlund
0d3f4d16c3
<X11/Xauth.h> used.
...
(get_local_xsocket): Changed parameter.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@730 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:14:39 +00:00
Assar Westerlund
0ebf3e6925
(get_local_xsocket): Now try to allocate the first free socket in
...
/tmp/.X11-unix. Also `mkdir' this directory first. Return the number
of the display opened.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@729 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:13:43 +00:00
Assar Westerlund
e02436a53f
Added X libraries.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@728 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:12:25 +00:00
Assar Westerlund
4153269462
Added prototype for `des_rand_data'.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@727 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:11:44 +00:00
Assar Westerlund
be960824df
Made `des_rand_data' non-static.
...
This function is useful and now even used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@726 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-14 01:11:13 +00:00
Johan Danielsson
feaa4059db
Add k_afs_cell_of_file.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@725 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-11 18:23:29 +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
8775eed722
UNICOS5: removed
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@723 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-09 19:35:57 +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
80faa61888
UNICOS5: removed
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@721 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-09 19:30:13 +00:00
Assar Westerlund
02f4fb0e7b
BFTPPATH: removed
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@720 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-09 19:29:36 +00:00
Assar Westerlund
26341b10ad
BFTPDAEMON: removed.
...
UNICOS5: removed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@719 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-09 19:28:23 +00:00
Assar Westerlund
44b4fe5d48
BFTPDAEMON: removed.
...
UNICOS5: removed.
STREAMSPTY: added variable `really_stream'.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@718 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-09 19:27:53 +00:00
Assar Westerlund
fa53a8d25f
exit with return code == 1 to indicate failure.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@717 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-08 22:18:34 +00:00
Assar Westerlund
006393516d
Removed unused `abortsend'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@716 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-08 22:14:03 +00:00
Assar Westerlund
58ed7945b1
Use @SET_MAKE@
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@715 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-08 22:13:40 +00:00
Assar Westerlund
629ba3dfca
Name changed from !HAVE_H_ERRNO to NEED_H_ERRNO_DECLARATION.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@714 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-03 18:05:49 +00:00
Assar Westerlund
daa86645f6
Name changed NEED_H_ERRLIST_{PROTO,DECLARATION}.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@713 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-03 18:05:21 +00:00
Assar Westerlund
a95bae9e0a
All signal handlers return RETSIGTYPE.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@712 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-03 18:04:46 +00:00
Assar Westerlund
3467387cd6
removed old extern declarations.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@711 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-03 18:03:15 +00:00
Assar Westerlund
bc529497cb
Removed unused variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@710 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-02 22:48:11 +00:00
Assar Westerlund
42d1b74492
typing and spelling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@709 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-02 22:45:35 +00:00
Assar Westerlund
bc6f9c6313
more consistent makefiles
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@708 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-02 21:50:42 +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
Assar Westerlund
a159babd9a
Removed '#if 0'-ed code.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@706 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-01 05:45:20 +00:00
Assar Westerlund
68755f36f2
Throw away passwd after use.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@705 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-01 03:44:44 +00:00
Assar Westerlund
7e99f10030
Fixed old comment.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@704 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-01 03:38:55 +00:00
Assar Westerlund
83290cb18a
s/gethostname/k_gethostname/
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@703 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-31 21:12:29 +00:00
Johan Danielsson
c36c25417e
Not used
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@702 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-31 21:04:12 +00:00
Johan Danielsson
def813850a
klogin is now unused
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@701 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-31 21:01:47 +00:00
Johan Danielsson
267b84947b
Use {krb,unix}_verify_user.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@700 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-31 21:01:10 +00:00
Assar Westerlund
8b2a5d95d8
Incorrect use of gethostname' replaced by correct use of
k_gethostname'.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@699 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-31 20:58:23 +00:00
Johan Danielsson
822330e047
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@698 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-31 20:42:49 +00:00
Johan Danielsson
667e86ee11
Change name verify_unix_user -> unix_verify_user in analogy with
...
krb_verify_user.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@697 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-31 20:42:48 +00:00
Assar Westerlund
dbd9c54df4
Install man-page.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@696 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-30 19:10:02 +00:00
Assar Westerlund
2c1490bd39
Replace `-shared' with some other option when not using gcc.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@695 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-30 00:51:45 +00:00