summaryrefslogtreecommitdiffstats
path: root/src/appl/gssftp/ftpd/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Remove ChangeLog files from the source tree. From now on, theSam Hartman2006-04-111-924/+0
| | | | | | | subversion commit log entry needs to include information that would have been in the changelog. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17893 dc483132-0cff-0310-8789-dd5450dbe970
* Add a new recursive target "generated-files-mac", for producing theKen Raeburn2006-03-111-0/+4
| | | | | | | generated files that lxs wants to feed into the Mac build system. (First approximation, may want some fine tuning later.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17728 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c: GCC 4.0 fixes... Move static declaration of gunique outEzra Peisach2005-01-131-0/+5
| | | | | | | | | of function. ticket: 2876 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17026 dc483132-0cff-0310-8789-dd5450dbe970
* ticket: newSam Hartman2004-11-261-0/+6
| | | | | | | | | | subject: ftpcmds.y: nbby should be 8 * ftpcmd.y: nbby should be 8 for anything platform we care about. The previous test broke on Debian BSD, so the test has been removed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16909 dc483132-0cff-0310-8789-dd5450dbe970
* merge athena ftpd changes for requiring encrypted passwordsTom Yu2004-11-031-0/+10
| | | | | | | | | | | | | | | | * ftpcmd.y (getline): Merge Athena change to reject MICed password. * ftpd.M: Document '-E'. * ftpd.c (main): Merge Athena's '-E' changes to prohibit unencrypted passwords. ticket: new target_version: 1.4 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16857 dc483132-0cff-0310-8789-dd5450dbe970
* Better support for using libutil on systems that need it for variousTom Yu2004-09-221-0/+4
| | | | | | pty-related functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16777 dc483132-0cff-0310-8789-dd5450dbe970
* Finally applied patch from Nalin Dahyabhai at Red Hat to fix 0/NULL bugs inKen Raeburn2004-08-271-0/+6
| | | | | | | | | variadic argument lists to krb5_build_principal{,_ext}. Skipped the stylistic patches that removed casts of NULL. tag: 1850 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16693 dc483132-0cff-0310-8789-dd5450dbe970
* Patch from Garry Zacheiss to use krb5_get_init_creds_password in ftpdSam Hartman2004-08-271-0/+6
| | | | | | | | | not krb5_get_in_tkt_password in order to avoid the prompter being called. Ticket: 2682 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16688 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (main): Use socklen_t for the size of the address from acceptKen Raeburn2004-08-091-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16653 dc483132-0cff-0310-8789-dd5450dbe970
* Gets a bit closer, still not working..Ken Raeburn2003-12-131-0/+13
| | | | | | | | | | | | | | | | * ftpcmd.y (getline): Allow "AUTH" as an unprotected command. * ftpd.c (login): Fix checks for accept_sec_context status. Only send back one message in the CONTINUE_NEEDED case. (with_gss_error_text): New function, split out from reply_gss_error. (reply_gss_error): Call it. (reply_gss_error_1): New function. (log_gss_error, log_gss_error_1): New functions. (login): Call log_gss_error instead of syslog on error from gss_display_name. ticket: 2062 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15917 dc483132-0cff-0310-8789-dd5450dbe970
* Use fork not vfork in ftpSam Hartman2003-06-051-0/+4
| | | | | | | Ticket: 1547 Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15581 dc483132-0cff-0310-8789-dd5450dbe970
* Eliminate explicit declarations of errno; include errno.h as needed.Ken Raeburn2003-04-241-0/+4
| | | | | | (Also errmsg in krb4, and malloc in compile_et.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15367 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (auth_data): Kerberos v4 checksum must be a 32-bit valueKen Raeburn2003-01-031-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15081 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpcmd.y: Bison 1.75 cleanup. Essentially remove `=' beforeEzra Peisach2002-10-231-0/+5
| | | | | | | | statements to be executed. ticket: 1218 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14935 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Revert $(S)=>/ change, for Windows supportKen Raeburn2002-08-291-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14786 dc483132-0cff-0310-8789-dd5450dbe970
* Change $(S)=>/ and $(U)=>.. globallyKen Raeburn2002-08-231-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14761 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (auth_data, reply_gss_code): Use OM_uint32 instead of intEzra Peisach2002-08-231-0/+5
| | | | | | to match arguments to gssapi functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14760 dc483132-0cff-0310-8789-dd5450dbe970
* Don't install port-sockets.h, and don't include it from <kerberosIV/krb.h>.Ken Raeburn2002-07-121-0/+4
| | | | | | Instead, include it in the source files that need it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14627 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (ftpd): Don't use krb5util libraryKen Raeburn2002-06-251-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14571 dc483132-0cff-0310-8789-dd5450dbe970
* Don't use channel bindings for accept_sec_contextSam Hartman2002-04-111-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14386 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Remove dependency on krb524.h and krb524_err.h asEzra Peisach2002-03-201-0/+5
| | | | | | they may not be present if compiling --without-krb4. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14288 dc483132-0cff-0310-8789-dd5450dbe970
* define "unix" on BSDKen Raeburn2002-03-071-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14232 dc483132-0cff-0310-8789-dd5450dbe970
* fix bug with inconsistent result codes when homedir isn't accessible but / isKen Raeburn2002-01-081-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14092 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpcmd.y (pathname): Handle returns from ftpglob() better soTom Yu2001-12-081-0/+8
| | | | | | | | | | that errors get sent via reply(), while causing some match failures to match to simply return $1, so the higher level can deal. Previously, some failures would cause synch problems since NULL would be returned and no reply was sent. [pullup from 1.2.3] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14059 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.M: Remove improper formatting from the .SH NAME section, as itMitchell Berger2001-10-111-0/+6
| | | | | | | | | was reported to cause windex generation problems and was inconsistent with all the other man pages. [Fixes krb5-doc/319] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13802 dc483132-0cff-0310-8789-dd5450dbe970
* Don't conditionalize prototypes; delete macros supporting it. (Maybe overdone;Ken Raeburn2001-10-101-0/+4
| | | | | | don't worry about restoring them when importing new versions of code.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13792 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.M: Update the usage line and option descriptions to be in syncMitchell Berger2001-08-031-0/+5
| | | | | | with what the code actually does and be in a consistent order. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13672 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (main): Convert to do option parsing with getopt() ratherMitchell Berger2001-08-031-0/+8
| | | | | | | | | than the whitespace-sensitive voodoo we've used in the past. This fixes a bug where use of -u to set a default umask silently failed and granted more permission on files than desired if the -u and the mode were separated by a space, and likely many other such bugs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13670 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c: Provide prototypes for myoob and lostconnEzra Peisach2001-07-051-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13558 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (sgetpwnam): Remove local declaration of sgetsaveEzra Peisach2001-07-031-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13549 dc483132-0cff-0310-8789-dd5450dbe970
* * popen.c: Include ftpd_var.hEzra Peisach2001-07-021-0/+12
| | | | | | | | | | | | * ftpd.c: Declare secure_fprintf, gunique, sgetsave, sgetpwnam, path_expand static. * ftpd_var.h: Add prototypes for getline, renamefrom, ftpd_popen, ftpd_pclose. * ftpcmd.y: Declare lookup, copy and urgsafe_getc static. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13545 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpcmd.y (help): Change local variable type to ftypeEzra Peisach2001-06-221-0/+7
| | | | | | | * ftpd.c (main): Local variable name changes to prevent shadowing of cp, sin, optarg. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13492 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c: If NEED_SETENV defined, prototype for setenv.Ezra Peisach2001-06-211-0/+2
| | | | | | | (auth_data): radix_encode expects a int * and not a size_t *. Use temporary variable to pass data in and out. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13466 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c: If NEED_SETENV defined, prototype for setenvEzra Peisach2001-06-211-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13460 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c: Include gssapi/gssapi_krb5.h for gss_krb5_copy_ccacheEzra Peisach2001-06-211-0/+5
| | | | | | prototype. Provide prototype for yyparse. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13448 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpcmd.y: Cleanup potential ambiguity between comparsion andEzra Peisach2001-06-191-0/+5
| | | | | | pre-increment for a variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13388 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpcmd.y, ftpd.c: Cast argument to isspace()/isdigit() to intEzra Peisach2001-06-151-0/+7
| | | | | | | * secure.h (SESSION): Pass pointer to C_Block as expected by krb5_mk_priv(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13351 dc483132-0cff-0310-8789-dd5450dbe970
* * pathnames.h: _PATH_FTPUSERS renamed to _PATH_FTPUSERS_DEFAULTMitchell Berger2001-06-081-0/+9
| | | | | | | | | * ftpd.c: Added '-U filename' option to allow specification of an ftpusers file other than the default. * ftpd.M: Documented the new -U option. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13303 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpcmd.y: Include "ftpd_var.h" and remove prototype for reply()Ezra Peisach2001-06-061-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and lreply(). Add prototypes and declare as returning void sizecmd(), help() and yylex(). Cleanup assignments in conditionals. * ftpd.c: Include <grp.h> for initgroups() prototype. Move reply(), lreply() prototypes to ftpd_var.h (and include same). Include "krb524.h" for krb524_convert_creds_kdc() prototype. Include secure.h. Provide static prototypes for ftpd_gss_convert_creds(), ftpd_gss_userok(), dolog(), receive_data(), login(), end_login(), disallowed_user(), restricted_user(), checkuser(). Declare main(), checkuser(), disallowed_user(), restricted_user(), end_login(), kpass(), retreive_data(), auth_data(), secure_printf(), ftpd_gss_userok(), as returning int. Declare setdlevel(), user(), pass(), login(), retreive(), store_file(), secure_error(), statfilecmd(), stat_cmd(), fatal(), reply(), lreply(), ack(), nack(), yyerror(), delete_file(), cwd(), makedir(), removedir(), pwd(), renamecmd(), dolog(), dologout(), passive(), perror_reply(), auth(), send_file_list(), reply_gss_error(), secure_gss_error(), ftpd_gss_convert_creds(), as returning void. Cleanup printf argument mismatches. * ftpd_var.h: New header file with many prototypes from ftpd.c. * popen.c (ftpd_popen): Add parenthesis in conditional to distinguish || vs &&. Add prototype for blkfree(). (ftpd_pclose): Declare as returning int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13276 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpcmd.y: Don't dereference a NULL pointer returned fromTom Yu2001-04-261-0/+9
| | | | | | | | | | ftpglob(). * ftpd.c: Be more paranoid about return values from ftpglob(). Police uses of sprintf(). Account for expansion in radix_encode(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13193 dc483132-0cff-0310-8789-dd5450dbe970
* prefer strerror() over sys_errlist[], for sparcv9-solaris2.8Ken Raeburn2001-03-081-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13061 dc483132-0cff-0310-8789-dd5450dbe970
* make pty_make_sane_hostname take sockaddr* arg instead of sockaddr_in*Ken Raeburn2000-12-061-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12883 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (reply): For gssapi connection, do not include NULL inEzra Peisach2000-10-171-0/+5
| | | | | | sealed reply string. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12796 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (login): Return of krb5_cc_get_name is now const char *Ezra Peisach2000-10-031-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12716 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpcmd.y: Fix up grammar so that single character token namesTom Yu2000-08-261-0/+11
| | | | | | | | | | | | are no longer used; this was breaking the build using bison on HP/UX because some system headers declare structures with members having all-uppercase field names and bison puts the token name #define statements in front of the C declarations section in the output, causing them to be in force while those headers get #included. There doesn't seem to be much purpose in not just using character constants, anyway. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12632 dc483132-0cff-0310-8789-dd5450dbe970
* * secure.h (myaddr): For secure data stream, pass the port numberEzra Peisach2000-08-221-0/+3
| | | | | | | | | | | of the data stream and not the control stream to krb_mk_priv. This would result in the occasional time out of bounds error when ftping to the same machine. (mk_priv and rd_priv have some amusing negating of timestamps depending on address and port of sockets). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12628 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (auth_data): Iterate over all krb4 services instead ofEzra Peisach2000-08-221-0/+6
| | | | | | | trying to examine the srvtab file for a particular key (which failes when falling back on the v5 keytab for des3 services). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12625 dc483132-0cff-0310-8789-dd5450dbe970
* 1.2-beta4 pullupKen Raeburn2000-06-301-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12470 dc483132-0cff-0310-8789-dd5450dbe970
* Change wsanchez@apple -> tritan@mitWilfredo Sanchez2000-06-011-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12331 dc483132-0cff-0310-8789-dd5450dbe970
* Volatile decls as needed.Ken Raeburn2000-02-191-0/+8
| | | | | | | Format attribute declarations for gcc. Deleting some unused variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12058 dc483132-0cff-0310-8789-dd5450dbe970