Johan Danielsson
f00d32feb1
fix bug in previous; make it easier to build test version
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9490 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-25 01:33:15 +00:00
Johan Danielsson
6cbdce797a
(lstat_file): handle case where file lives in `/'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9481 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-18 23:03:02 +00:00
Johan Danielsson
ee0c58e853
(pasv): close already open passive port
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9478 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-18 09:14:59 +00:00
Assar Westerlund
130cb6b3fc
mdoc fixes from ru@freebsd.org
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-11 16:16:30 +00:00
Johan Danielsson
e1e87a72f8
reverse time and size sort order (pointed out by tege)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9386 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-14 00:07:20 +00:00
Johan Danielsson
1034af2170
make it possible to set list of good filename characters from command
...
line
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9370 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-11 18:47:54 +00:00
Johan Danielsson
b2603d5c76
some spec-violating mirror software assumes that you can do things
...
like `LIST -CF'; don't pass `--' to ls so this actually works
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9336 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-10 21:46:10 +00:00
Johan Danielsson
addb9ef33e
implement -1CFx flags
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9335 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-10 21:43:21 +00:00
Assar Westerlund
f7d58f9e79
(gss_userok): handle getpwnam failing
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-08 05:09:46 +00:00
Johan Danielsson
064a8e4691
close list
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9225 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-29 18:14:48 +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
Johan Danielsson
388c5cda99
ignore Makefile.in
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-08 17:26:36 +00:00
Johan Danielsson
c787b9080d
switch to automake
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-05 17:16:41 +00:00
Johan Danielsson
7ffb13e372
only allow pasv if logged in
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-05 16:53:20 +00:00
Johan Danielsson
167b0c5133
change bad filename message slightly
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-10-23 01:58:52 +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
92e24cae77
add roken.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9079 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-19 13:17:20 +00:00
Assar Westerlund
ea12077d2b
swap order of includes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-19 13:16:44 +00:00
Assar Westerlund
98156296f2
remove some ifdef GNUC of attributes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9077 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-19 13:16:23 +00:00
Johan Danielsson
79e18ed80a
change redundant password message to something people can understand
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9018 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-31 06:08:49 +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
3db67e5f96
remove unused variable
...
fix end of comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-27 15:28:13 +00:00
Assar Westerlund
d4836e5a66
(gss_userok): only do AFS iff KRB4
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8854 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-27 05:49:56 +00:00
Assar Westerlund
7cef44466a
(krb5_verify): only do AFS stuff if KRB4
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8852 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-27 05:39:30 +00:00
Assar Westerlund
09a33f1b3c
do not call setproctitle with a variable as the format string
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8567 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-06 23:59:56 +00:00
Assar Westerlund
44f179f427
krb5.h before kafs.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-01 19:12:54 +00:00
Assar Westerlund
431f160b1e
(krb5_verify): static-ize
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-01 19:12:23 +00:00
Assar Westerlund
5700b02c69
(krb5_verify): conditionalize on KRB5
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8497 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-01 13:48:13 +00:00
Assar Westerlund
6fdb2be164
(dologout): add #endif
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8483 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-29 04:02:23 +00:00
Assar Westerlund
50256e4bac
add delegation. From Daniel Kouril <kouril@ics.muni.cz> and Miroslav Ruda <ruda@ics.muni.cz>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8434 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-21 02:46:11 +00:00
Assar Westerlund
ab3e6a4ead
support for authenticating user with krb5. From Daniel Kouril <kouril@ics.muni.cz>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-21 02:41:09 +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
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
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
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
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
83a479f198
add man pages
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-06 15:13:05 +00:00
Johan Danielsson
e2e63ad12b
free some memory
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7721 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-05 13:48:58 +00:00
Johan Danielsson
37491685e5
add /etc/issue{,.net}
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7720 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-05 13:46:38 +00:00
Johan Danielsson
ecfb13fe6c
some cleanup:
...
* pass `--' to all programs after args
* use `show_file' to output contents of various files
* use built-in ls if there is no external
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-05 13:46:04 +00:00
Assar Westerlund
f8546e0754
don't use sa_len as a parameter, it's defined on Irix
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7657 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-21 17:55:56 +00:00
Johan Danielsson
7e882f58c1
(dataconn): make sure from points to actual data
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7649 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-21 12:02:35 +00:00
Assar Westerlund
d0c80517a5
(dolog): update prototype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7533 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-05 12:56:47 +00:00
Assar Westerlund
c2b9f6c147
(dolog): use getnameinfo_verified
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7525 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-05 10:53:06 +00:00
Assar Westerlund
fe81c21fd5
replace inaddr2str by getnameinfo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7516 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-05 00:19:04 +00:00
Johan Danielsson
3ca5f8150f
remove advertising clause
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7463 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 16:58:55 +00:00
Assar Westerlund
8dd25ed0b9
(getdatasock): make sure to keep the port-number of the outgoing
...
connections. It has to be `ftp-data' or some people might get upset.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7455 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-30 19:18:38 +00:00
Assar Westerlund
f331fef9a4
(args): set correct variable when `-l' so that logging actually works
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7451 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-30 15:58:06 +00:00