Love Hörnquist Åstrand
4e8ab3a81f
make cbuf 64k to handle lager tickets
...
From: MAAAAA MOOOR <huaraz@btinternet.com >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13942 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-20 17:07:47 +00:00
Johan Danielsson
67e6f2f7eb
strncasecmp returns integer so don't compare with NULL
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-19 18:19:17 +00:00
Love Hörnquist Åstrand
b8149a5910
support afslog <cell> and afslog when compiled with krb5
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 21:51:28 +00:00
Assar Westerlund
98a8b2f4c6
add some (unsigned char) casts to is*
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10436 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-05 06:39:29 +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
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
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
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
Assar Westerlund
dec6af64d5
(help): it's unnecessary to interpret help strings as printf commands
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7234 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-26 11:56:23 +00:00
Assar Westerlund
76ab5ccd3f
(OPTS): shouldn't this be a STRING instead of foo?
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7111 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-04 20:40:50 +00:00
Johan Danielsson
4fbe521c04
FEAT
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7109 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-04 15:37:50 +00:00
Johan Danielsson
333c91b357
(LIST): call list_file
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7087 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 16:37:02 +00:00
Assar Westerlund
bf75fac82a
large strc{py,at}_truncate -> strlc{py,at} replacement
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6984 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-16 20:41:57 +00:00
Assar Westerlund
2d425c89f4
save file names when doing commands that might get aborted (and
...
longjmp:ed out of) to avoid overwriting them
also remove extra closing brace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6680 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-02 21:57:27 +00:00
Johan Danielsson
c599086c16
change site find' to
site locate' (to match what it does, and other
...
implementations) keep find as an alias
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6675 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-01 20:11:13 +00:00
Assar Westerlund
4bc7ce877b
add EPRT and EPSV
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6630 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-28 13:36:20 +00:00
Assar Westerlund
f88e911ef5
rename getline -> ftpd_getline
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6160 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-08 02:22:57 +00:00
Assar Westerlund
9b192a4705
moved all FTPSEC commands from cmd to rcmd to avoid resetting
...
`restart_point'. see my start complain about this grammar :-)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5874 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-08 09:25:56 +00:00
Assar Westerlund
3abd468399
moved all check_login and check_login_no_guest to the end of the rules
...
to ensure we don't generate several (independent) error messages.
once again, having a yacc-grammar for FTP with embedded actions
doesn't strike me as the most optimal way of doing it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5275 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-01-13 22:52:54 +00:00
Assar Westerlund
a56394cd44
(toolong): fix type
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5119 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-08-15 22:42:35 +00:00
Assar Westerlund
e9fea047b0
random fixes to make it build with socks
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5028 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-13 00:06:56 +00:00
Johan Danielsson
a5f54865d4
merge strcpy_truncate branch
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5027 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-09 19:25:40 +00:00
Johan Danielsson
a4f35c76e6
Back out of previous change, it doesn't work with bison. Rename STAT
...
to sTAT instead.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4788 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-04-20 04:28:08 +00:00
Johan Danielsson
5a655c8a53
fix for AIX
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4775 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-04-18 19:34:40 +00:00
Johan Danielsson
5f4f0ccfc6
Some casts.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4768 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-04-13 10:23:33 +00:00
Johan Danielsson
6d51cd1dfc
Make compile w/o krb4.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4684 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-26 23:46:03 +00:00
Johan Danielsson
3722f46d6f
Changes for new merged security stuff.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4670 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-26 02:56:10 +00:00
Johan Danielsson
8a3bfa99a2
rfc2228
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4059 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-28 01:46:59 +00:00
Assar Westerlund
3367bfadcd
added kdestroy, krbtkfile and afslog
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3659 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-24 10:17:29 +00:00
Assar Westerlund
6ca5505eef
(SYST): Check for `__unix'. This is (apparently) a standard with many
...
representations.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1773 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 14:38:49 +00:00
Björn Groenvall
fc86080ec8
Fix for socks5
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1757 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-21 09:23:00 +00:00
Assar Westerlund
327a4d2bd9
added __attribute__ ((format (printf)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1707 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-11 11:04:38 +00:00
Assar Westerlund
f4812b0463
hack for reget.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1696 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-11 08:59:39 +00:00
Assar Westerlund
2a4375828c
always cast to (long) before printing out an `off_t'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1674 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-07 02:20:56 +00:00
Assar Westerlund
d844ace4c4
Year 2000 fix
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1672 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-07 00:38:36 +00:00
Assar Westerlund
dd02a92a8b
replace sprintf all over the place
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1635 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-02 14:29:33 +00:00
Assar Westerlund
02b12a9a7e
removed unused code
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1476 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-23 05:02:21 +00:00
Assar Westerlund
77ec5783ea
missing semicolon
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1469 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-22 17:51:39 +00:00
Assar Westerlund
0ba0e6664f
Use strupr
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1092 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-12-14 20:46:30 +00:00
Assar Westerlund
e5a0fdfb0e
Renamed delete' and
store' to do_delete' and
do_store' to avoid
...
conflict with DBM-functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1061 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-21 20:02:54 +00:00
Assar Westerlund
6202f22614
removed all stupid (void)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1034 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-17 20:23:48 +00:00
Assar Westerlund
239db0f710
removed all stupid register declarations
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1033 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-17 20:04:43 +00:00
Assar Westerlund
b5852d51fe
less warnings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@908 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-27 23:52:16 +00:00
Assar Westerlund
aaafb2bf9c
less warnings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@894 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-26 21:41:16 +00:00
Assar Westerlund
edb66c9354
SOCKS-support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@860 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-18 05:35:32 +00:00
Assar Westerlund
3ce7399a11
Added code for handling the case of using `bison' and having no
...
`alloca'. Alloca is usually never called anyway, so we just use
`malloc'.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@850 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-14 19:22:14 +00:00
Johan Danielsson
1a66c665f0
Removed some commands from anonymous users.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@802 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-29 05:32:53 +00:00
Johan Danielsson
5387b76026
Add FIND site command.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@791 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-29 01:27:21 +00:00
Assar Westerlund
a95bae9e0a
All signal handlers return RETSIGTYPE.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@712 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-03 18:04:46 +00:00
Assar Westerlund
68755f36f2
Throw away passwd after use.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@705 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-01 03:44:44 +00:00