Commit Graph

3356 Commits

Author SHA1 Message Date
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 62cd158440 (main): just ignore shadow information if getspnam returns NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8310 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-03 12:58:28 +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 d37d58a21c add des.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-05-29 16:53:29 +00:00
Assar Westerlund a4a2068b9e (login_conf_get_string): extra cast to kill a warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-05-29 16:52:24 +00:00
Assar Westerlund b360b2499d remove unused variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-05-29 16:51:40 +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 d1da7f74c8 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-05-18 00:28:17 +00:00
Assar Westerlund 94f3bfaaaf (args): should use `debug'. From Onno van der Linden
<onno@simplex.nl>.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-05-18 00:27:58 +00:00
Assar Westerlund 080a79404a *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8206 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-05-05 17:38:45 +00:00
Assar Westerlund 181017ac0c (sourceroute): update prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-05-05 17:38:19 +00:00
Assar Westerlund f695d00d40 (tn): re-enable source routing
(sourceroute): make it work again based on the code from
itojun@kame.net


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8204 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-05-05 17:37:36 +00:00
Assar Westerlund 2042f25140 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-25 21:01:31 +00:00
Assar Westerlund 1bf63f3ec7 (login): re-structure code so that we prompt for password for
ftp/anonymous


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-25 20:59:07 +00:00
Assar Westerlund 18180f86f9 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-19 14:20:26 +00:00
Assar Westerlund 499c5a0751 try hostname uncanonified if getaddrinfo() fails
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-19 14:19:38 +00:00
Assar Westerlund 310c5ab3eb *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-12 15:38:37 +00:00
Assar Westerlund 5ec33df5ff replace all erroneous calls to pop_log with POP_FAILURE with POP_PRIORITY. reported by Janne Johansson <jj@it.kth.se>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8182 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-12 15:37:46 +00:00
Assar Westerlund ce65fb922d *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-11 00:19:19 +00:00
Assar Westerlund fb26f178f9 (login): initialize tmp before calling fgets
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8163 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-11 00:18:38 +00:00
Assar Westerlund fbc29da410 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8160 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-09 11:20:25 +00:00
Assar Westerlund 51675c657f allow conversion of v5 -> v4 tickets when logging in with forwarded
tickets


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-09 11:17:22 +00:00
Assar Westerlund 231d5834ac (verfiy_krb5): get the v4-realm from the v5-ticket and not from the
default one.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-09 09:56:25 +00:00
Assar Westerlund a321675515 (verify_krb5): add obtainting of v4 tickets.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-09 09:40:01 +00:00
Assar Westerlund cb34056dd0 fix typo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-02 21:43:18 +00:00
Assar Westerlund 56b5a4ba2a *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8091 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-02 21:42:57 +00:00
Assar Westerlund c7c7a33ef6 rename all st_mtime variables to avoid conflict with #define.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-02 21:25:29 +00:00
Assar Westerlund bd94e208dd *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8079 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-28 09:12:40 +00:00
Assar Westerlund c3043e6c5e (tn): clean-up a tiny little bit. give-up if we do not manage to
connect to any address


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-28 05:21:54 +00:00
Assar Westerlund c244cd2e52 time_t-foobar
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8069 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-26 19:53:47 +00:00
Assar Westerlund 34406dd27b (*): make sure to always call time, ctime, and gmtime with `time_t's.
there were some types (like in lastlog) that we believed to always be
time_t.  this has proven wrong on Solaris 8 in 64-bit mode, where they
are stored as 32-bit quantities but time_t has gone up to 64 bits


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8068 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-26 19:48:27 +00:00
Assar Westerlund c4c623ae05 (make_fileinfo): make sure to always call time, ctime, and gmtime with
`time_t's.  there were some types (like in lastlog) that we believed
to always be time_t.  this has proven wrong on Solaris 8 in 64-bit
mode, where they are stored as 32-bit quantities but time_t has gone
up to 64 bits


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-26 19:47:59 +00:00
Assar Westerlund 85ff7204cc make sure to always call time, ctime, and gmtime with `time_t's.
there were some types (like in lastlog) that we believed to always be
time_t.  this has proven wrong on Solaris 8 in 64-bit mode, where they
are stored as 32-bit quantities but time_t has gone up to 64 bits


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-26 19:46:45 +00:00
Johan Danielsson 2d6b3bbc99 call list_file for broken usages of nlst too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-09 14:02:16 +00:00
Assar Westerlund 4879ed81d3 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8007 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-04 13:52:09 +00:00
Assar Westerlund 98d76b559d add man-page for pfrom
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8006 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-04 13:51:58 +00:00
Assar Westerlund dec4acf53b *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8001 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-03 14:11:40 +00:00
Assar Westerlund 5a38a1f0a1 (kerberos5_init): check that we do have a keytab before saying that we
will support KERBEROS5


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8000 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-03 14:11:17 +00:00
Björn Groenvall cf93f02cc3 Target install depends on target all.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7955 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-18 13:12:56 +00:00
Assar Westerlund 13cf73a605 (fork_flag): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7947 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-14 02:52:55 +00:00
Assar Westerlund 41fbbd1a82 (proto): with `--fork', create a child and send over/receive creds
with export/import_sec_context


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7927 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-12 21:34:11 +00:00
Assar Westerlund f8d313b2e0 (read_token): check malloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-12 21:31:38 +00:00
Assar Westerlund 6eb399502d add --fork' / -f' (only used by gssapi)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7925 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-12 21:30:47 +00:00
Assar Westerlund 594c2c745a *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7919 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-12 16:00:37 +00:00
Assar Westerlund d2881b4b56 (tn): only set tos for AF_INET. From itojun@iijlab.net
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7918 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-12 16:00:07 +00:00
Assar Westerlund b373e08930 (proto): divide up
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7917 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-11 23:02:28 +00:00