Assar Westerlund
d0b8e98a34
(krb4_authenticate): do not exit on failure, just return
...
(krb5_authenticate): log errors from krb5_recvauth
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8374 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-10 07:43:41 +00:00
Björn Groenvall
4efd6d8ddf
Missing newline in printf.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8368 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-09 12:33: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
Assar Westerlund
8e08fa51b0
(do_login): work-around for setuid and capabilities bug fixed in Linux
...
2.2.16
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8366 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-09 10:06:38 +00:00
Assar Westerlund
2e74d070dc
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8365 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-09 10:04:47 +00:00
Assar Westerlund
9fccf03625
remove all setuid(getuid()). we do not support telnet being setuid root
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8364 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-09 10:04:27 +00:00
Björn Groenvall
f3c11fde79
Not all systems implement setuid(2) the way you expect.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8362 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-09 09:59:47 +00:00
Johan Danielsson
f85c2187fd
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8328 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-06 14:28:43 +00:00
Johan Danielsson
2392cd7bc2
change unix test to be negative
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-06 14:24:14 +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
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