Subject: Re: ProFTPd ported to Cygwin
From: "Gerrit P. Haase" <[email-masked]>
To: [email-masked]
Date: Sun, 7 Apr 2002 23:30:33 +0200

Hallo Stanislav,

Am 2002-04-07 um 16:53 schriebst du:

> I made some minor compatibility fixes in Proftpd,
> now it compiles and runs under Cygwin. 

I'm having problems here:

$ ftp localhost
Connected to loreley.antigone.familiehaase.de.
220 ProFTPD 1.2.5rc1 Server (ProFTPD Default Installation) [loreley.antigone.familiehaase.de]
Name (localhost:Siebenschlaefer): ftp
331 Anonymous login ok, send your complete email address as your password.
Password:
230 Anonymous access granted, restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
226 Transfer complete.
ftp> 

It shows me nothing, though there is some stuff:
$ find /home/ftp
/home/ftp
/home/ftp/.bashrc
/home/ftp/pub
/home/ftp/pub/proftpd-1.2.5rc1-1-src.tar.bz2
/home/ftp/pub/proftpd-1.2.5rc1-1.tar.bz2

Does it work for you?

Here the daemon putput (note the:
              error: unable to set groups: Invalid argument):

$ usr/sbin/proftpd.exe -n -d 5
mybox - 
mybox - Config for ProFTPD Default Installation:
mybox - ~ftp/
mybox -  Limit
mybox -   DenyAll
mybox -  UserName
mybox -  GroupName
mybox -  UserAlias
mybox -  MaxClients
mybox -  DisplayLogin
mybox -  DisplayFirstChdir
mybox -  Umask
mybox - /*
mybox -  AllowOverwrite
mybox -  Umask
mybox - DefaultServer
mybox - Umask
mybox - User
mybox - UserName
mybox - Group
mybox - GroupName
mybox - ProFTPD 1.2.5rc1 (release) (built Sun Apr 7 22:20:05 2002) standalone mode STARTUP
mybox (127.0.0.1[127.0.0.1]) - connected - local  : 127.0.0.1:21
mybox (127.0.0.1[127.0.0.1]) - connected - remote : 127.0.0.1:2502
mybox (127.0.0.1[127.0.0.1]) - FTP session opened.
mybox (127.0.0.1[127.0.0.1]) - dispatching PRE_CMD command 'USER ftp' to mod_core
mybox (127.0.0.1[127.0.0.1]) - dispatching PRE_CMD command 'USER ftp' to mod_auth
mybox (127.0.0.1[127.0.0.1]) - dispatching CMD command 'USER ftp' to mod_auth
mybox (127.0.0.1[127.0.0.1]) - dispatching LOG_CMD command 'USER ftp' to mod_log
mybox (127.0.0.1[127.0.0.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
mybox (127.0.0.1[127.0.0.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
mybox (127.0.0.1[127.0.0.1]) - dispatching CMD command 'PASS (hidden)' to mod_auth
mybox (127.0.0.1[127.0.0.1]) - error: unable to set groups: Invalid argument
mybox (127.0.0.1[127.0.0.1]) - 
mybox (127.0.0.1[127.0.0.1]) - Config for ProFTPD Default Installation:
mybox (127.0.0.1[127.0.0.1]) - ~ftp/
mybox (127.0.0.1[127.0.0.1]) -  Limit
mybox (127.0.0.1[127.0.0.1]) -   DenyAll
mybox (127.0.0.1[127.0.0.1]) -  UserName
mybox (127.0.0.1[127.0.0.1]) -  GroupName
mybox (127.0.0.1[127.0.0.1]) -  UserAlias
mybox (127.0.0.1[127.0.0.1]) -  MaxClients
mybox (127.0.0.1[127.0.0.1]) -  DisplayLogin
mybox (127.0.0.1[127.0.0.1]) -  DisplayFirstChdir
mybox (127.0.0.1[127.0.0.1]) -  Umask
mybox (127.0.0.1[127.0.0.1]) - /*
mybox (127.0.0.1[127.0.0.1]) -  AllowOverwrite
mybox (127.0.0.1[127.0.0.1]) -  Umask
mybox (127.0.0.1[127.0.0.1]) - DefaultServer
mybox (127.0.0.1[127.0.0.1]) - Umask
mybox (127.0.0.1[127.0.0.1]) - User
mybox (127.0.0.1[127.0.0.1]) - UserName
mybox (127.0.0.1[127.0.0.1]) - Group
mybox (127.0.0.1[127.0.0.1]) - GroupName
mybox (127.0.0.1[127.0.0.1]) - USER
mybox (127.0.0.1[127.0.0.1]) - CURRENT-CLIENTS
mybox (127.0.0.1[127.0.0.1]) - ANON ftp: Login successful.
mybox (127.0.0.1[127.0.0.1]) - Preparing to chroot() the environment, path = '/home/ftp'
mybox (127.0.0.1[127.0.0.1]) - Environment successfully chroot()ed.
mybox (127.0.0.1[127.0.0.1]) - dispatching POST_CMD command 'PASS (hidden)' to mod_log
mybox (127.0.0.1[127.0.0.1]) - dispatching POST_CMD command 'PASS (hidden)' to mod_ls
mybox (127.0.0.1[127.0.0.1]) - dispatching LOG_CMD command 'PASS (hidden)' to mod_log
mybox (127.0.0.1[127.0.0.1]) - dispatching PRE_CMD command 'SYST' to mod_core
mybox (127.0.0.1[127.0.0.1]) - dispatching CMD command 'SYST' to mod_core
mybox (127.0.0.1[127.0.0.1]) - dispatching LOG_CMD command 'SYST' to mod_log
mybox (127.0.0.1[127.0.0.1]) - dispatching PRE_CMD command 'PORT 127,0,0,1,9,234' to mod_core
mybox (127.0.0.1[127.0.0.1]) - dispatching CMD command 'PORT 127,0,0,1,9,234' to mod_core
mybox (127.0.0.1[127.0.0.1]) - dispatching LOG_CMD command 'PORT 127,0,0,1,9,234' to mod_log
mybox (127.0.0.1[127.0.0.1]) - dispatching PRE_CMD command 'LIST' to mod_core
mybox (127.0.0.1[127.0.0.1]) - dispatching CMD command 'LIST' to mod_ls
mybox (127.0.0.1[127.0.0.1]) - active data connection opened - local  : 127.0.0.1:20
mybox (127.0.0.1[127.0.0.1]) - active data connection opened - remote : 127.0.0.1:2538
mybox (127.0.0.1[127.0.0.1]) - in dir_check_full(): path = '/', fullpath = '/home/ftp/'.
mybox (127.0.0.1[127.0.0.1]) - dispatching LOG_CMD command 'LIST' to mod_log
mybox (127.0.0.1[127.0.0.1]) - dispatching LOG_CMD command 'LIST' to mod_ls
mybox (127.0.0.1[127.0.0.1]) - dispatching PRE_CMD command 'QUIT' to mod_core
mybox (127.0.0.1[127.0.0.1]) - dispatching PRE_CMD command 'QUIT' to mod_log
mybox (127.0.0.1[127.0.0.1]) - dispatching CMD command 'QUIT' to mod_core
mybox (127.0.0.1[127.0.0.1]) - FTP session closed.

Gerrit
-- 
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/