Вообщем система FreeBSD 4.6-STABLE.
поставил из портов proftpd WITH_SETPASSENT=yes WITH_MYSQL=yes
Вот мой конф:
ServerName "Meta.com FTP Service"
ServerType standalone
DefaultServer off
Port 21
Umask 022
<Global>
SQLConnectInfo proftpd@localhost root rootpass
SQLAuthTypes Backend Plaintext
SQLUserInfo users username password uid gid NULL NULL
SQLDefaultHomedir "/tmp"
RequireValidShell off
SQLAuthenticate users groups usersetfast groupsetfast
</Global>
MaxInstances 30
User nobody
Group nobody
<Directory /*>
AllowOverwrite on
</Directory>
<Anonymous ~ftp>
User ftp
Group ftp
UserAlias anonymous ftp
MaxClients 10
DisplayLogin welcome.msg
DisplayFirstChdir .message
</Anonymous>
Вот мои таблицы:
+-------------------+
| Tables_in_proftpd |
+-------------------+
| groups |
| users |
+-------------------+
+-----------+--------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+--------------+------+-----+---------+-------+
| groupname | varchar(30) | | | | |
| gid | int(11) | | | 0 | |
| members | varchar(255) | YES | | NULL | |
+-----------+--------------+------+-----+---------+-------+
+---------+--------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------+--------------+------+-----+---------+-------+
| userid | varchar(30) | | PRI | | |
| passwd | varchar(30) | | | | |
| uid | int(11) | YES | MUL | NULL | |
| gid | int(11) | YES | | NULL | |
| homedir | varchar(255) | YES | | NULL | |
| shell | varchar(255) | YES | | NULL | |
+---------+--------------+------+-----+---------+-------+
А вот что в итоге:
[fvl@meta]# ftp 127.0.0.1
Connected to 127.0.0.1.
220 ProFTPD 1.2.5 Server (Meta.com FTP Service) [meta]
Name (127.0.0.1:fvl): anonymous
331 Anonymous login ok, send your complete email address as your password.
Password:
421 Service not available, remote server has closed connection.
ftp: Login failed.
ftp: No control connection for command.
ftp>
Где грабли??? ПОМОГИТЕ ПОЖАЛУЙСТА!!!!