www.ProFTPD.de
13. März 2007, 20:09:25 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
   Übersicht   Hilfe Suche Login Registrieren  
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: ProFTPD sagt pw falsch...  (Gelesen 259 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
Mandrick
Gast
« am: 11. Februar 2006, 14:03:23 »

Hi @ all

Ich habe grade ProFTPD auf einem Debian Sarge Server installiert (PHP und MYSQL vorhanden)
und auch benutzer angelegt nur leider kann ich mich nicht anmelden egal was ich mache immer ist das passwort falsch?!
Ich hänge mal debug 9 und config bei
Thx im vorraus

Debug
Code:
- parsing '/usr/local/etc/proftpd.conf' configuration
 - FS: using system open()
 - FS: using system read()
 - dispatching directive 'ServerName' to module mod_core
 - dispatching directive 'ServerType' to module mod_core
 - dispatching directive 'DefaultServer' to module mod_core
 - dispatching directive 'Port' to module mod_core
 - dispatching directive 'Umask' to module mod_core
 - dispatching directive 'MaxInstances' to module mod_core
 - dispatching directive 'User' to module mod_core
 - dispatching auth request "getpwnam" to module mod_auth_file
 - dispatching auth request "getpwnam" to module mod_auth_unix
 - dispatching directive 'Group' to module mod_core
 - dispatching auth request "getgrnam" to module mod_auth_file
 - dispatching auth request "getgrnam" to module mod_auth_unix
 - FS: using system read()
 - dispatching directive 'AllowOverwrite' to module mod_xfer
 - dispatching directive '<Limit>' to module mod_core
 - dispatching directive 'DenyAll' to module mod_core
 - dispatching directive '</Limit>' to module mod_core
 - dispatching directive '<Anonymous>' to module mod_core
 - dispatching directive 'User' to module mod_core
 - dispatching directive 'Group' to module mod_core
 - dispatching directive 'UserAlias' to module mod_auth
 - dispatching directive 'MaxClients' to module mod_auth
 - dispatching directive 'DisplayLogin' to module mod_core
 - dispatching directive 'DisplayFirstChdir' to module mod_core
 - dispatching directive '<Limit>' to module mod_core
 - dispatching directive 'DenyAll' to module mod_core
 - dispatching directive '</Limit>' to module mod_core
 - dispatching directive '</Anonymous>' to module mod_core
 - FS: using system read()
 - FS: using system close()
localhost.localdomain -
localhost.localdomain - Config for ProFTPD Default Installation:
localhost.localdomain - ~ftp/
localhost.localdomain -  Limit
localhost.localdomain -   DenyAll
localhost.localdomain -  UserName
localhost.localdomain -  GroupName
localhost.localdomain -  UserAlias
localhost.localdomain -  MaxClients
localhost.localdomain -  DisplayLogin
localhost.localdomain -  DisplayFirstChdir
localhost.localdomain -  Umask
localhost.localdomain -  AllowOverwrite
localhost.localdomain - Limit
localhost.localdomain -  DenyAll
localhost.localdomain - DefaultServer
localhost.localdomain - Umask
localhost.localdomain - UserID
localhost.localdomain - UserName
localhost.localdomain - GroupID
localhost.localdomain - GroupName
localhost.localdomain - AllowOverwrite
localhost.localdomain - dispatching auth request "getgroups" to module mod_auth_file
localhost.localdomain - dispatching auth request "getgroups" to module mod_auth_unix
localhost.localdomain - SETUP PRIVS at main.c:2733
localhost.localdomain - ROOT PRIVS at main.c:1967
localhost.localdomain - RELINQUISH PRIVS at main.c:1974


und die conf

Code:
#
# /etc/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
#

ServerName "Debian"
ServerType standalone
DeferWelcome 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 are using NIS or LDAP to retrieve passwords:
#PersistentPasswd off

# Uncomment this if you would use TLS module:
#TLSEngine on

# Uncomment this if you would use quota module:
#Quotas on

# Uncomment this if you would use ratio module:
#Ratios on

# Port 21 is the standard FTP port.
Port 21

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30

# Set the user and group that the server normally runs at.
User nobody
Group ftpuser

# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 022  022
# Normally, we want files to be overwriteable.
AllowOverwrite on

# Delay engine reduces impact of the so-called Timing Attack described in
# http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02
# It is on by default.
#DelayEngine off

# A basic anonymous configuration, no upload directories.

RequireValidShell off
Gespeichert
VolGas
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 771



Profil anzeigen
« Antwort #1 am: 11. Februar 2006, 14:55:39 »

Zuerst einmal: Dein Posting ist vorbildlich, damit kann man was anfangen, danke!

Ich schätze, wenn Du Deinem proftpd.conf noch eine Zeile mit
"DefaultRoot ~" hinzufügst, dann könnte es funktionieren.
Alle anderen wichtigen Elemente scheinen mämlich da zu sein.

mfg.
  VolGas
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #2 am: 11. Februar 2006, 15:05:30 »

Zitat von: "VolGas"
Zuerst einmal: Dein Posting ist vorbildlich, damit kann man was anfangen, danke!


also ich will nicht meckern: aber ein Debug Log ist nur dann ein Debug log, wenn der Fehler simuliert wird. UND (!) in Deinem Beispiel schmeisst Du zwar das Debug Log vom ProFTPD start in den Raum aber NICHT das Debug Log vom einlogprozess. Ich kann also im Moment nicht sehen, WIESO ProFTPD den Login verwirft.

cu
stonki
Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
Mandrick
Gast
« Antwort #3 am: 11. Februar 2006, 15:13:18 »

Danke für die schnelle antowrt und das Lob...
Mache auch öfter Support nur in einer anderen Richtung daher weiß ich das man Fakten braucht um was sagen zu können.

Aber leider muss ich sagen das dein Tipp nicht geholfen hat ich sende das Log meines FTP Clienten mal mit
Code:
WinSock 2.0 -- OpenSSL 0.9.6g 9 Aug 2002
[R] Connecting to  -> IP= PORT=21
[R] Connected to
[R] 220 ProFTPD 1.2.10 Server (Debian) []
[R] USER Test
[R] 331 Password required for Test.
[R] PASS (hidden)
[R] 530 Login incorrect.
[R] Connection failed
[R] Delaying for 120 seconds before reconnect attempt #1

Die Ips stimmten nur wollte ich die nicht öffentlich posten
Gespeichert
Anonymous
Gast
« Antwort #4 am: 11. Februar 2006, 15:29:22 »

@stonki

Ja sry hast recht.. habe darin dann auch die anbindung an 0.0.0.0 gefunden...


Trotzdem danke es funktionniert jetzt musste aus inetd.conf nur den FTP Dienst entfernen und neu laden
Gespeichert
Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.058 Sekunden mit 16 Zugriffen.