HELP !!!
Проблема:> не работает ProFTPd+MySQL;
OS:> RedHad-Enterpr.-4
Конфигурация:>
ProFTPd:>proftpd.conf (rw-r—r-- root root)
ServerName «My FTP Server»
ServerType standalone
DefaultServer on
SystemLog /var/log/ftp/proftpd.log
DebugLevel 5
SyslogLevel notice
Port 21
Umask 022
MaxInstances 30
User nobody
Group nobody
<Directory />
AllowOverwrite on
</Directory>
<Limit LOGIN>
Order deny,allow
AllowGroup ftpsumpan
AllowGroup ftpe
AllowGroup ftp
</Limit>
SQLConnectInfo proftp@localhost:3306 proftp myftpserver
SQLAuthTypes PlainText
SQLUserInfo users userid passwd uid gid homedir shell
DefaultRoot ~
RequireValidShell off
SQLGroupInfo groups groupname gid members
SQLAuthenticate users groups
MySQL:>
mysql -u root -p
Enter password:
mysql>grant select,insert,update,delete,create,drop
->on proftp.*
->to proftp@localhost
->identified by 'myftpserver’;
mysql>exit;
mysql -u proftpd -p
Enter password:
mysql>create database proftp;
mysql>use proftp;
Database changed
mysql> CREATE TABLE users (
-> userid VARCHAR(30) NOT NULL UNIQUE,
-> passwd VARCHAR(80) NOT NULL,
-> uid INTEGER UNIQUE,
-> gid INTEGER,
-> homedir VARCHAR(255),
-> shell VARCHAR(255)
-> );
mysql> CREATE TABLE groups (
-> groupname VARCHAR(30) NOT NULL,
-> gid INTEGER NOT NULL,
-> members VARCHAR(255)
-> );
mysql>
mysql>insert into groups values(’ftp’,’5001’,’’);
mysql>insert into users values(’test’,’testftp’,’5001’,’5001’,’/home/ftp/test’,’/sbin/false’);
mysql>exit;
mkdir /home/ftp
chown 5001.5001 /home/ftp
-------------------------------
log:>
Mar 24 07:42:50 hostname proftpd[7204] hostname.domen.com: ProFTPD 1.2.10 (stable) (built Пнд Мар 21 07:59:55 UTC 2005) standalone mode STARTUP
Mar 24 07:43:32 hostname proftpd[7206] hostname.domen.com (hostname.domen.com[127.0.0.1]): FTP session requested from unknown class
Mar 24 07:43:32 hostname proftpd[7206] hostname.domen.com (hostname.domen.com[127.0.0.1]): connected - local : 127.0.0.1:21
Mar 24 07:43:32 hostname proftpd[7206] hostname.domen.com (hostname.domen.com[127.0.0.1]): connected - remote : 127.0.0.1:33383
Mar 24 07:43:32 hostname proftpd[7206] hostname.domen.com (hostname.domen.com[127.0.0.1]): FTP session opened.
Mar 24 07:43:41 hostname proftpd[7206] hostname.domen.com (hostname.domen.com[127.0.0.1]): dispatching PRE_CMD command 'USER test' to mod_core
Mar 24 07:43:41 hostname proftpd[7206] hostname.domen.com (hostname.domen.com[127.0.0.1]): dispatching PRE_CMD command 'USER test' to mod_core
Mar 24 07:43:41 hostname proftpd[7206] hostname.domen.com (hostname.domen.com[127.0.0.1]): dispatching PRE_CMD command 'USER test' to mod_auth
Mar 24 07:43:41 hostname proftpd[7206] hostname.domen.com (hostname.domen.com[127.0.0.1]): dispatching CMD command 'USER test' to mod_auth
Mar 24 07:43:41 hostname proftpd[7206] hostname.domen.com (hostname.domen.com[127.0.0.1]): FTP session closed.
----------------------------
У кого-нибуть эта связка работает? Никто не поделится опытом (конфигом)?
Помогите разобраться .