Also hier mal die Syslog auf Debuglevel 4:
Zitat
Nov 29 10:50:27 localhost proftpd[27018]: connect from 192.168.0.112 (192.168.0.112)
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - AuthOrder in effect, resetting auth module order
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - connected - local : 192.168.0.2:21
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - connected - remote : 192.168.0.112:2132
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - FTP session opened.
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'USER shing' to mod_rewrite
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'USER shing' to mod_tls
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'USER shing' to mod_core
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'USER shing' to mod_core
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'USER shing' to mod_delay
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'USER shing' to mod_auth
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching CMD command 'USER shing' to mod_ratio
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching CMD command 'USER shing' to mod_auth
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - no supplemental groups found for user 'shing'
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching POST_CMD command 'USER shing' to mod_sql
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching POST_CMD command 'USER shing' to mod_delay
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - mod_delay/0.4: delaying for 360 usecs
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching LOG_CMD command 'USER shing' to mod_sql
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching LOG_CMD command 'USER shing' to mod_log
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_rewrite
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_tls
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_delay
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_wrap
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_radius
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching CMD command 'PASS (hidden)' to mod_auth
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - no supplemental groups found for user 'shing'
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - FTP session closed.
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - AuthOrder in effect, resetting auth module order
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - connected - local : 192.168.0.2:21
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - connected - remote : 192.168.0.112:2132
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - FTP session opened.
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'USER shing' to mod_rewrite
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'USER shing' to mod_tls
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'USER shing' to mod_core
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'USER shing' to mod_core
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'USER shing' to mod_delay
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'USER shing' to mod_auth
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching CMD command 'USER shing' to mod_ratio
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching CMD command 'USER shing' to mod_auth
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - no supplemental groups found for user 'shing'
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching POST_CMD command 'USER shing' to mod_sql
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching POST_CMD command 'USER shing' to mod_delay
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - mod_delay/0.4: delaying for 360 usecs
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching LOG_CMD command 'USER shing' to mod_sql
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching LOG_CMD command 'USER shing' to mod_log
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_rewrite
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_tls
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_delay
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_wrap
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_radius
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - dispatching CMD command 'PASS (hidden)' to mod_auth
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - no supplemental groups found for user 'shing'
Nov 29 10:50:27 localhost proftpd[27018]: localhost.localdomain (192.168.0.112[192.168.0.112]) - FTP session closed.
Die dazugehörige konfig.
Zitat
##################################################
###### STATIC ###########################
##################################################
DebugLevel 4
ServerName "Shing Ihm Seiner"
ServerType inetd
DeferWelcome off
UseReverseDNS off
ServerIdent off
IdentLookups off
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"
DenyFilter \*.*/
# Uncomment this if you would use TLS module:
#TLSEngine on
Port 21
MaxInstances 30
User nobody
Group nogroup
Umask 022 022
AllowOverwrite off
RequireValidShell off
PassivePorts 60000 64000
AllowStoreRestart on
AllowRetrieveRestart on
AllowForeignAddress on
########################################
####### SQL-Auth Sachen ################
########################################
AuthOrder mod_sql.c
SQLAuthTypes Plaintext
SQLAuthenticate users*
SQLConnectInfo ftp@localhost SQLUSER SQLPASS
SQLDefaultGID 1002
SQLDefaultUID 101
SQLMinUserGID 1002
SQLMinUserUID 101
SQLUserInfo ftp-user username password uid gid homedir NULL
########################################
###### Regeln für Alle #################
########################################
<IfUser !shing>
DefaultRoot ~
MaxClients 2
MaxClientsPerHost 2
<Directory ~/*>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
<Directory> ~/UPLOAD>
<Limit WRITE>
AllowAll
</Limit>
</Directory>
</IfUser>
###### STATIC ###########################
##################################################
DebugLevel 4
ServerName "Shing Ihm Seiner"
ServerType inetd
DeferWelcome off
UseReverseDNS off
ServerIdent off
IdentLookups off
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"
DenyFilter \*.*/
# Uncomment this if you would use TLS module:
#TLSEngine on
Port 21
MaxInstances 30
User nobody
Group nogroup
Umask 022 022
AllowOverwrite off
RequireValidShell off
PassivePorts 60000 64000
AllowStoreRestart on
AllowRetrieveRestart on
AllowForeignAddress on
########################################
####### SQL-Auth Sachen ################
########################################
AuthOrder mod_sql.c
SQLAuthTypes Plaintext
SQLAuthenticate users*
SQLConnectInfo ftp@localhost SQLUSER SQLPASS
SQLDefaultGID 1002
SQLDefaultUID 101
SQLMinUserGID 1002
SQLMinUserUID 101
SQLUserInfo ftp-user username password uid gid homedir NULL
########################################
###### Regeln für Alle #################
########################################
<IfUser !shing>
DefaultRoot ~
MaxClients 2
MaxClientsPerHost 2
<Directory ~/*>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
<Directory> ~/UPLOAD>
<Limit WRITE>
AllowAll
</Limit>
</Directory>
</IfUser>
Der FTP-Client zeigt noch an, dass er das passwort überträgt und dan ist die verbindung weg.
Zitat von: "FTP-Client Log"
Status: Verbinden mit 192.168.0.2...
Status: Verbunden mit 192.168.0.2. Warten auf Willkommens-Meldung...
Antwort: 220 192.168.0.2 FTP server ready
Befehl: USER shing
Antwort: 331 Password required for shing.
Befehl: PASS ********
Fehler: Verbindung getrennt
Fehler: Verbindung kann nicht hergestellt werden!
Für Versions fragen etc:
Zitat
grandfather:~# proftpd --version
- ProFTPD Version 1.3.0rc2
grandfather:~#
- ProFTPD Version 1.3.0rc2
grandfather:~#
Hat jemand nen Tipp ?!?!? oder ne Idee.
Danke!
-> Achja, bevor jemand fragt auch wenn ich AuthOrder mal auf standard lasse, passiert das gleiche.
-> Achja-2: in der Datenbenk stehen auch entsprechende Daten drin! Homedir ist auch vorhanden und User-ID 101 gibts auch, ist der ftp User.
-> Achja3: der Fehler bleibt egal ob der proftpd als inetd oder als deamon als standalone läuft