This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[1.7] proftpd + anon ftp login error


Hello,

It works fine if I use cygwin-1.5. And error with 1.7.

I copied passwd, group, proftpd.conf from cygwin-1.5/etc.  And I
can ftp login with my usual windows account.  But cannot login
as anonymous user.

failed with anonymous login
===========================
[master] ~[23]$ ftp 192.168.10.10
Connected to 192.168.10.10.
220 ProFTPD 1.2.10 Server (namsh's ftp server) [192.168.10.10]
Name (192.168.10.10:namsh): ftp
331 Anonymous login ok, send your complete email address as your password.
Password:
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using ascii mode to transfer files.

success with normal user account
================================
[master] ~[26]$ ftp 192.168.10.10
Connected to 192.168.10.10.
220 ProFTPD 1.2.10 Server (namsh's ftp server) [192.168.10.10]
Name (192.168.10.10:namsh): namsh
331 Password required for namsh.
Password:
230 User namsh logged in.
Remote system type is UNIX.
Using binary mode to transfer files.

For the cygcheck output, please check the other message I sent.
The subject is '[1.7] cannot run native win32 app'. Should I include it
here also?..

Regards,
namsh

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName			"namsh's ftp server"
ServerType			standalone
DefaultServer			on
TimesGMT			off

# Port 21 is the standard FTP port.
Port				21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask				022

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances			10

# Set the user and group under which the server will run.
#User				SYSTEM
#Group				Administrators

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~

# Normally, we want files to be overwriteable.
AllowOverwrite			off

# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
  DenyAll
</Limit>

# A basic anonymous configuration, no upload directories.  If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
  User				ftp
  Group				ftp

  # Limit the maximum number of anonymous logins
  MaxClients			10

  # We want 'welcome.msg' displayed at login, and '.message' displayed
  # in each newly chdired directory.
  DisplayLogin			welcome.msg
  DisplayFirstChdir		.message

  <Limit DELE>
    DenyAll
  </Limit>
</Anonymous>
# vim:set ts=8 sts=2 sw=2:

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]