Commit Graph

415 Commits

Author SHA1 Message Date
Johan Danielsson
0624b4457e replace INCLUDES with AM_CPPFLAGS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 11:55:29 +00:00
Love Hörnquist Åstrand
92b2f1b002 I fixed the OOB send cleartext problem in 0.6.3 ftp client
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 08:55:41 +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
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
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
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
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
295027f2e9 document --gss-bindings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12455 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 09:47:25 +00:00
Love Hörnquist Åstrand
7e2042b4cf (gss_userok): release delegated cred handle
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12322 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 15:08:48 +00:00
Love Hörnquist Åstrand
59c5cdf594 (gss_userok): remove poking inside the delegated handle
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12320 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 15:04:27 +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
Love Hörnquist Åstrand
5eef63c1b0 always include auth.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12231 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-07 11:47:49 +00:00
Love Hörnquist Åstrand
b3a34b79f9 do afslog in the krb5 case too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12230 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-07 11:47:23 +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
62fb84849a s/kerberos/Kerberos/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-06 17:53:05 +00:00
Assar Westerlund
7fcc310acf (_PATH_FTPUSERS): conditionalize
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-24 03:33:55 +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
86b1f55863 drop setpag
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 13:56:35 +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
Love Hörnquist Åstrand
aadb7de003 always try krb5_afslog, and while here do a setpag too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 13:46:09 +00:00
Love Hörnquist Åstrand
cdf76e1418 always include kafs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 13:37:13 +00:00
Love Hörnquist Åstrand
5d97c60219 use readlink with bufsize - 1, From NetBSD
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11662 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-25 10:51:30 +00:00
Love Hörnquist Åstrand
5f3174996c s/utilize/use/
from NetBSD


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11659 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-25 10:47:29 +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
4b87042b2b uxp/v lacks _S_IFMT, but has S_IFMT
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11193 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-22 08:31:03 +00:00
Johan Danielsson
879fc6b8bc more, mostly whitespace, fixes from Thomas Klasusner
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 17:07:29 +00:00
Johan Danielsson
747a00df69 remove Ns before comma (from Thomas Klausner)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 16:37:20 +00:00
Johan Danielsson
31ad1085bf use sysconfdir
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11080 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-12 15:09:20 +00:00
Johan Danielsson
2200a93e81 make sure gl_pathc != 0 before referencing gl_pathv
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-02 11:57:39 +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
34ff215120 proto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10858 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-28 15:49:32 +00:00
Johan Danielsson
eb8685ce0b (builtin_ls): return status; also don't print fatal error messages to
the output stream, instead use syslog


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-28 15:49:19 +00:00
Johan Danielsson
a53e6efc5f make sure we don't include . in recursive listings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-14 11:32:52 +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
Assar Westerlund
470129d783 (LDADD): move libkafs further down
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10667 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-06 12:18:34 +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
Johan Danielsson
b7e6176ede implement -R
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10561 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-26 10:02:24 +00:00
Assar Westerlund
334c7ffa33 merge of DB-NEW
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10453 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-09 08:41:49 +00:00
Assar Westerlund
e61b6106c6 make -a and -A do the same as in ls(1)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-08 10:02:59 +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
Assar Westerlund
fca1e57c46 (gss_userok): make argument to printf type correct
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10435 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-05 06:38:57 +00:00
Assar Westerlund
3584154454 (LDADD): move otp earlier
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10395 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-24 16:04:09 +00:00
Assar Westerlund
19aff2e7fb references and see also fixups from Ruslan Ermilov <ru@FreeBSD.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-12 08:42:28 +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
Assar Westerlund
25ad02d691 mdoc fixes from ru@freebsd.org
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-02 08:59:23 +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
2a4fc282bb (ftpd_popen): use GLOB_LIMIT if defined
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9756 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-25 23:58:21 +00:00