Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 86574 invoked from network); 16 Jul 2009 00:04:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Jul 2009 00:04:08 -0000 Received: (qmail 48311 invoked by uid 500); 16 Jul 2009 00:04:17 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 48228 invoked by uid 500); 16 Jul 2009 00:04:17 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 48217 invoked by uid 99); 16 Jul 2009 00:04:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jul 2009 00:04:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jul 2009 00:04:13 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BCB8923888FE; Thu, 16 Jul 2009 00:03:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r794469 - /httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c Date: Thu, 16 Jul 2009 00:03:52 -0000 To: cvs@httpd.apache.org From: wrowe@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090716000352.BCB8923888FE@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: wrowe Date: Thu Jul 16 00:03:52 2009 New Revision: 794469 URL: http://svn.apache.org/viewvc?rev=794469&view=rev Log: Survey of three arbitrary unix servers says; ftp is treated as anonymous; guest is not. Modified: httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c Modified: httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c?rev=794469&r1=794468&r2=794469&view=diff ============================================================================== --- httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c (original) +++ httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c Thu Jul 16 00:03:52 2009 @@ -2865,8 +2865,8 @@ /* TODO: these should really be configurable */ if ((strcmp(fc->user, "anonymous") == 0) || (strncmp(fc->user, "anonymous@", 10) == 0) || - (strcmp(fc->user, "guest") == 0) || - (strncmp(fc->user, "guest@", 6) == 0)) { + (strcmp(fc->user, "ftp") == 0) || + (strncmp(fc->user, "ftp@", 4) == 0)) { fc->response_notes = apr_pstrdup(r->pool, "Guest login ok, type your email " "address as the password");