Love Hörnquist Åstrand
0dd014d499
(filename_check): change signednes of p to avoid warning, move typecasts
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15348 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-02 10:41:28 +00:00
Love Hörnquist Åstrand
b56ac0785a
avoid 'unused variable' warnings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15289 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 21:44:30 +00:00
Love Hörnquist Åstrand
542f17be74
(statcmd): cast argument to isdigit to unsigned char
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:48:33 +00:00
Love Hörnquist Åstrand
bf0ab85d2e
Remove all traces of setjmp/longjmp.
...
Handle those command that is needed in oobhandler,
those are ABOR, STAT, ENC, CONF, MIC.
add options to turn off insecure OOB handling and document the option
Changes inspired by openbsd and netbsd changes but quite diffrent is
most places since the code no longer look and is structured the same
way.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-20 13:31:20 +00:00
Love Hörnquist Åstrand
a6e1755f25
(main): setpag if there is krb4 OR krb5 support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13526 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 16:50:13 +00:00
Love Hörnquist Åstrand
bbeffa1fb5
wrap gssapi stuff with KRB5
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12597 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-20 16:26:21 +00:00
Love Hörnquist Åstrand
5c9001d9a1
(args): add gss-bindings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12456 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 09:48:17 +00:00
Love Hörnquist Åstrand
8d96becdac
make sure argument to is* functions are unsigned
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12037 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-16 15:02:05 +00:00
Love Hörnquist Åstrand
3d1b5e8dfc
(krb5_verify): always do krb5_afslog, remove setpag (its done in main)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11869 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 14:23:32 +00:00
Love Hörnquist Åstrand
698db5c285
revert previous delta
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11862 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 13:55:47 +00:00
Love Hörnquist Åstrand
a733929bcc
(main): set afs PAG
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 13:54:55 +00:00
Assar Westerlund
54a243b5ba
(accept_with_timeout): use socklen_t
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11641 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-10 10:01:16 +00:00
Johan Danielsson
08c61d3cd8
if builtin_ls failes, return error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-28 15:50:14 +00:00
Johan Danielsson
7fc606fb54
(dataconn): don't wait forever on accept
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10697 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-13 09:17:14 +00:00
Jacques A. Vidrine
c77bd77f26
On systems with IP_PORTRANGE, have ftpd use `high-numbered'
...
ports by default. Add a -U option to get the old behavior.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-28 19:02:16 +00:00
Assar Westerlund
84e8616c84
try to handle GLOB_MAXPATH (FreeBSD)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-19 10:00:25 +00:00
Johan Danielsson
3b5cadd654
(do_store): call closefunc before claiming that everything went ok, if
...
the close fails the file might not have been stored properly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9792 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-19 14:41:29 +00:00
Assar Westerlund
063bc2b80a
always use GLOB_LIMIT
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9775 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-26 11:41:16 +00:00
Assar Westerlund
b1cd585ea9
(send_file_list): use GLOB_LIMIT if defined
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-25 23:55:08 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
Assar Westerlund
b58531efe4
(args): use arg_counter for `l'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7355 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-12 15:59:42 +00:00
Assar Westerlund
b13b9064ff
foo const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7294 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-01 04:22:38 +00:00
Assar Westerlund
a42059f379
(list_file): correct prototype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7293 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-01 04:20:38 +00:00
Assar Westerlund
408574f1b0
some const-poisoning
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7244 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-27 23:51:52 +00:00
Assar Westerlund
4e75081dcf
(args): add -B' as an alias for
--builtin-ls' to allow for stupid
...
inetds that only support two arguments. From Love <lha@s3.kth.se >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7243 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-27 23:28:43 +00:00
Assar Westerlund
38c83dd6ad
(show_issue): don't interpret contents of /etc/issue* as printf
...
commands. From Brian A May <bmay@dgs.monash.edu.au >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7233 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-26 11:55:19 +00:00