httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r794469 - /httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c
Date Thu, 16 Jul 2009 00:03:52 GMT
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");



Mime
View raw message