Assar Westerlund
5f648d3799
use socklen_t where appropriate instead of int
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-09 20:53:11 +00:00
Assar Westerlund
986d4dc7a8
(main): only fetch stuff from krb5.conf when no option has been given
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8919 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-09 19:52:22 +00:00
Assar Westerlund
ffbbe2e8fe
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8882 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-01 21:11:06 +00:00
Assar Westerlund
b227547119
(doit): loop until we create an error socket of an supported socket
...
family
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8881 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-01 21:10:52 +00:00
Assar Westerlund
bab45db35b
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8539 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-02 16:16:58 +00:00
Assar Westerlund
81178d12fe
DCE stuff from Ake Sandgren <ake@cs.umu.se>
...
do not call syslog with a variable as format string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8531 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-02 15:50:21 +00:00
Assar Westerlund
4ad0797ee4
(_PATH_ETC_ENVIRONMENT): add
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8530 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-02 15:48:46 +00:00
Assar Westerlund
e65dfa32fe
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8515 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-01 20:09:15 +00:00
Assar Westerlund
1a831dae4a
make trying to use encryption and bsd authentication a crime
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-21 02:10:41 +00:00
Assar Westerlund
b494b7cebb
(main): work-around for setuid and capabilities bug fixed in Linux
...
2.2.16
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8367 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-09 10:08:30 +00:00
Johan Danielsson
c23e889990
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-06 09:39:46 +00:00
Johan Danielsson
6b2825f188
nuke long option from -z
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8325 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-06 09:38:47 +00:00
Johan Danielsson
118ec61bb0
don't try to encrypt if auth is broken (Daniel Kouril)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-06 09:37:32 +00:00
Assar Westerlund
568835b256
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-03 12:59:04 +00:00
Assar Westerlund
a1b0469cb7
(doit): check return value of getspnam. From <haba@pdc.kth.se>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8309 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-03 12:56:44 +00:00
Assar Westerlund
8abb2c836f
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8287 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-05-22 22:53:43 +00:00
Assar Westerlund
8611ebf5de
(proto): select on the normal socket when waiting for the daemon to
...
connect back to the stderr port, so that we discover when data arrives
there before. when that happens, we assume that the daemon did not
manage to connect (because of NAT/whatever) and continue as if `-e'
was given
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-05-22 22:53:15 +00:00
Assar Westerlund
0ba10a1961
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-05-22 22:19:31 +00:00
Assar Westerlund
d196515c3f
(doit): if we fail to connect back to the stderr port, act as if `-e'
...
was given on the client side, i.e. without the special
TCP-connection. This tries to make things better when running the
head against a NAT wall, for example.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-05-22 22:19:15 +00:00
Assar Westerlund
c90283040a
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-07 03:14:52 +00:00
Assar Westerlund
27b9663610
(LDADD): make sure we use the heimdal libdes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-07 03:13:00 +00:00
Assar Westerlund
f40927e6a7
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7864 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-06 05:59:39 +00:00
Assar Westerlund
919dd3528a
only have des stuff if KRB4
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-06 05:58:56 +00:00
Assar Westerlund
9f9827aa6d
htons should really be ntohs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7612 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-16 11:53:50 +00:00
Assar Westerlund
07da82d372
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7602 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-16 10:32:26 +00:00
Assar Westerlund
9630ea929b
(doit): addrinfo returned from getaddrinfo() is not usable directly as
...
hints. copy it and set AI_PASSIVE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7598 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-16 10:26:22 +00:00
Assar Westerlund
90dea3f7a7
use getaddrinfo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7498 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-04 18:06:43 +00:00
Johan Danielsson
c5b916ca6f
remove advertising clause
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Assar Westerlund
ff9fb07939
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7419 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-20 20:51:46 +00:00
Assar Westerlund
0d50f8f7e2
(main): remember to close the priviledged sockets before calling
...
rlogin
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7417 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-20 20:50:07 +00:00
Assar Westerlund
e0bbe59f41
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7298 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-02 22:46:22 +00:00
Assar Westerlund
ac5267f34c
(main): redo the v4/v5 selection for consistency.
...
-4 -> try only v4
-5 -> try only v5
none, -45 -> try v5, v4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7297 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-02 22:45:10 +00:00
Assar Westerlund
094cb99850
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7232 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-26 04:27:43 +00:00
Assar Westerlund
efade330cd
(main): ignore SIGPIPE
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7231 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-26 04:27:26 +00:00
Assar Westerlund
1c689e0b5d
(do_read): the encoded length can be longer than the buffer being
...
used, allocate memory for it dynamically. From Brian A May
<bmay@dgs.monash.edu.au >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7230 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-26 04:14:36 +00:00
Assar Westerlund
9fb0a9020d
(loop): close some omre fd's
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7151 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-17 10:26:45 +00:00
Assar Westerlund
8647d2c734
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7142 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-14 08:04:38 +00:00
Assar Westerlund
6fb65024a7
(proto): be more careful and don't print errno when read() returns 0
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7141 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-14 08:04:20 +00:00
Assar Westerlund
8d782a0c6a
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6987 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-20 03:39:22 +00:00
Assar Westerlund
34fa1e560c
(recv_krb4_auth): set `iv'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6986 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-20 03:39:10 +00:00
Assar Westerlund
d3f5d79294
strc{py,at}_truncate -> strlc{py,at}
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6985 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-16 21:39:11 +00:00
Johan Danielsson
80f41aae8f
fix some buglets (from ake@cs.umu.se)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6884 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-27 09:19:08 +00:00
Assar Westerlund
18680dc1b0
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6820 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:27:28 +00:00
Assar Westerlund
79c9449c41
(do_read): be careful with the return value from krb5_net_read
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6819 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:27:10 +00:00
Assar Westerlund
89bb20cf7c
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6759 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-05 12:26:13 +00:00
Assar Westerlund
538358295d
call freehostent
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6756 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-05 12:22:09 +00:00
Assar Westerlund
d2120e0670
remove some dead code
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6750 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-05 10:17:15 +00:00
Assar Westerlund
5889f87026
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6730 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:23:18 +00:00
Assar Westerlund
ab66cfb440
re-write the handling of forwarded credentials and stuff. From
...
Miroslav Ruda <ruda@ics.muni.cz >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6715 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:04:44 +00:00
Assar Westerlund
40f4f81bdb
always include kafs.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6714 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-04 17:04:12 +00:00