Hallo erstmal,
bin im besitz des Buches <<Der Eigene Webserver>> und gerade beim Kapitel <<Testen der FTP-Installation>> angelangt. Leider kann ich keine verbindung aufbauen bzw. mich einloggen.
Konfiguration optionen:
--sysconfdir=/etc \
--with-modules=mod_sql:mod_sql_mysql \
--with-includes=/usr/include/mysql \
--with-libraries=/usr/lib/mysql \
--enable-ipv6
proftpd.conf
ServerIdent Off
ServerName "FTP-Server"
ServerType standalone
DefaultServer on
Port 21
Umask 022
MaxInstances 20
TimeoutLogin 60
TimeoutNoTransfer 300
User ftp
Group ftp
DefaultRoot ~
AllowOverwrite on
RequireValidShell off
SQLConnectInfo proftp@localhost:3306 proftp "dummy"
SQLAuthTypes Plaintext
SQLAuthenticate users*
SQLUserInfo users username password uid NULL homedir NULL
SQLUserWhereClause "count=0"
SQLLog PASS counter
SQLNamedQuery counter UPDATE "count=1 WHERE username='%u'" users
SQLLog RETR, STOR insertfileinfo
SQLNamedQuery insertfileinfo UPDATE "size=size+'%b' WHERE username='%u'" users
SQLMinUserUID 500
SQLDefaultGID 8
MySQL Tabelle:
+----------+----------+-----+-------------------+-------+------+
| username | password | uid | homedir | count | size |
+----------+----------+-----+-------------------+-------+------+
| ftpuser | test | 502 | /home/ftpuser/ftp | 0 | 0 |
+----------+----------+-----+-------------------+-------+------+
Ich habe den ProFTPD im Debug-Modus gestartet:
lanserver.dns (newsletter.lan[192.168.1.128]) - connected - local : 192.168.1.23:21
lanserver.dns (newsletter.lan[192.168.1.128]) - connected - remote : 192.168.1.128:1424
lanserver.dns (newsletter.lan[192.168.1.128]) - FTP session opened.
lanserver.dns (newsletter.lan[192.168.1.128]) - dispatching PRE_CMD command 'USER ftpuser' to mod_core
lanserver.dns (newsletter.lan[192.168.1.128]) - dispatching PRE_CMD command 'USER ftpuser' to mod_core
lanserver.dns (newsletter.lan[192.168.1.128]) - dispatching PRE_CMD command 'USER ftpuser' to mod_auth
lanserver.dns (newsletter.lan[192.168.1.128]) - dispatching CMD command 'USER ftpuser' to mod_auth
lanserver.dns (newsletter.lan[192.168.1.128]) - dispatching POST_CMD command 'USER ftpuser' to mod_sql
lanserver.dns (newsletter.lan[192.168.1.128]) - dispatching LOG_CMD command 'USER ftpuser' to mod_sql
lanserver.dns (newsletter.lan[192.168.1.128]) - dispatching LOG_CMD command 'USER ftpuser' to mod_log
lanserver.dns (newsletter.lan[192.168.1.128]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
lanserver.dns (newsletter.lan[192.168.1.128]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
lanserver.dns (newsletter.lan[192.168.1.128]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
lanserver.dns (newsletter.lan[192.168.1.128]) - dispatching CMD command 'PASS (hidden)' to mod_auth
lanserver.dns (newsletter.lan[192.168.1.128]) - FTP session closed.
FTP-Client
Resolving host name 192.168.1.23...
Connecting to (192.168.1.23) -> IP: 192.168.1.23 PORT: 21
Connected to (192.168.1.23) -> Time = 1642ms
Socket connected waiting for login sequence.
220 lanserver.dns FTP server ready
USER ftpuser
331 Password required for ftpuser.
PASS (hidden)
Cannot login waiting to retry (30s)...
SuSE Linux 8.2
proftpd1.2.9Was habe ich Falsch gemacht?