Love Hornquist Astrand
0879b9831a
remove trailing whitespace
2011-05-21 11:57:31 -07:00
Asanka Herath
d00f9984a5
Make roken build on windows
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-11-24 21:42:02 -08:00
Love Hornquist Astrand
11024751a5
make compile
2009-07-30 14:25:12 +02:00
Love Hörnquist Åstrand
29fc07df5b
add paranoid check for PORT and EPRT, make it default
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25330 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-15 22:18:25 +00:00
Love Hörnquist Åstrand
1db1289c87
use S_ISDIR
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25230 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:45:03 +00:00
Love Hörnquist Åstrand
9b4aafd0ec
make argument to cwd() const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-25 20:38:47 +00:00
Love Hörnquist Åstrand
5939a1b0f8
use krb5_cc_new_unique()
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:02:16 +00:00
Love Hörnquist Åstrand
54d8d8504c
Freeglob is not read again, just free.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:24:05 +00:00
Love Hörnquist Åstrand
2038ffd351
drop krbv4 support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24496 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:09:28 +00:00
Love Hörnquist Åstrand
a21969d84d
drop krb4 support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:09:16 +00:00
Love Hörnquist Åstrand
6937d41a02
remove trailing whitespace
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
07a870bdf1
move ksetpag after initgroups to make it work on Linux when its without syscall hooks to change sys_setgroups preserve the pag. From abo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21222 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:11:14 +00:00
Love Hörnquist Åstrand
7160948ea6
Add comment by seteuid call isn't not needed.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17873 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-08 21:06:11 +00:00
Love Hörnquist Åstrand
7154d3b11d
Check return values from seteuid, prompted by MIT advisory.
...
Thanks to Tom Yu at MIT, and Michael Calmer and Marcus Meissner at SUSE.
Either of CVE-2006-3083 or CVE-2006-3084.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-08 21:03:26 +00:00
Johan Danielsson
52f388ba2f
(pass): remove unused variable in the !OTP case
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16530 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-12 16:37:31 +00:00
Love Hörnquist Åstrand
f74a40ff85
Check return value from asprintf instead of string != NULL since it
...
undefined behavior on Linux. From Björn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-22 12:49:00 +00:00
Love Hörnquist Åstrand
70e4fce904
Add Kerberos 5 klist, old patch from Tomas Nyström (remove krb4 support).
...
Support klist in client for kerberos 5 clase.
Clean up delegation of gss tokens and do afslog.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 17:08:11 +00:00
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