Commit Graph

171 Commits

Author SHA1 Message Date
Assar Westerlund
67422a6b02 s/[gs]et_progname/[gs]etprogname/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9704 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-20 01:44:56 +00:00
Assar Westerlund
054dfd29b7 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9649 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-07 06:18:13 +00:00
Assar Westerlund
b68ceea83e add login_access
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9642 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-07 05:09:06 +00:00
Assar Westerlund
0397d42c21 (login_access): add prototype
(syslog_and_die, fatal): add printf attributes
(*): AIX -> _AIX
(doit): use login_access
based on patches from Ake Sandgren <ake@cs.umu.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9641 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-07 05:05:58 +00:00
Assar Westerlund
fc62d18379 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9467 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-09 18:49:21 +00:00
Assar Westerlund
6e38740a18 (save_krb5_creds): use krb5_rd_cred2 instead of krb5_rd_cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9464 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-09 18:44:29 +00:00
Assar Westerlund
37888fcc61 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 08:12:15 +00:00
Assar Westerlund
633782864b (main): handle krb5_init_context failure consistently
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9443 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 08:05:03 +00:00
Johan Danielsson
a3402d12fe x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-05 09:12:30 +00:00
Johan Danielsson
6bd6f80082 require encryption if passed -x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9271 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-05 09:12:26 +00:00
Assar Westerlund
505f5c2a70 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 23:21:45 +00:00
Assar Westerlund
57975d729b (loop): check that the fd's aren't too large to select on
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 22:59:21 +00:00
Assar Westerlund
f64041aa23 (loop, proto): check that the fd's aren't too large to select on
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 22:58:53 +00:00
Assar Westerlund
baebf953a8 use LIB_des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 22:51:14 +00:00
Assar Westerlund
3e00ddf50d use esetenv
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9089 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-10-02 05:06:04 +00:00
Assar Westerlund
3ac095e99d *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-10 19:25:52 +00:00
Assar Westerlund
416874d66f move code to do config/command parsing correctly.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8925 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-10 19:25:20 +00:00
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