www.ProFTPD.de

ProFTPD => ProFTPD - Deutsch => Thema gestartet von: Morides am 01. Mai 2006, 03:47:05



Titel: Login Fehler 530
Beitrag von: Morides am 01. Mai 2006, 03:47:05
meine conf
Code:
ServerName "Test FTP Server"
ServerType standalone

DefaultServer           on
Port 21

# security fix as recommended by proftp-development-team
DenyFilter \*.*/

############### LDAP Auth #####################
LDAPServer localhost
LDAPDefaultAuthScheme "clear"
LDAPDNInfo "cn=Manager,dc=test,dc=lan" "passworthalt"
LDAPDoAuth on "ou=Users,o=Main,dc=test,dc=lan"


# Uncomment this if you are using NIS or LDAP to retrieve passwords:
PersistentPasswd off


# 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 nogroup

# Login nur von Mitgliedern der Gruppe ftpuser erlauben
#<Limit SITE_CHMOD>
#  DenyAll
#</Limit>

# Root-Login verbieten und gültige Shell verlangen (in /etc/shells)
<Global>
AccessDenyMsg      "Keine Anmeldung für %u möglich"
AccessGrantMsg      "Anmeldung erfolgreich, Hallo %u"
RootLogin off
RequireValidShell on
</Global>

# Speed erhoehen
UseReverseDNS off
IdentLookups off

# Logging Formate
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"

# Logging aktivieren
# alle logins
ExtendedLog /var/log/ftp_auth.log AUTH auth

# file/dir Zugriff
ExtendedLog /var/log/ftp_access.log WRITE,READ write

# für paranoide (vorsicht, erzeugt grosse Logfiles)
ExtendedLog /var/log/ftp_paranoid.log ALL default


DefaultRoot ~

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

auszug aus der /var/log/ftp_paranoid.log
Code:
192.168.0.11 UNKNOWN nobody [01/May/2006:04:39:56 +0300] "USER testuser" 331 -
192.168.0.11 UNKNOWN nobody [01/May/2006:04:39:56 +0300] "PASS (hidden)" 530 -
192.168.0.11 UNKNOWN nobody [01/May/2006:04:40:26 +0300] "QUIT" 221 -
192.168.0.11 UNKNOWN nobody [01/May/2006:04:40:26 +0300] "USER testuser" 331 -
192.168.0.11 UNKNOWN nobody [01/May/2006:04:40:26 +0300] "PASS (hidden)" 530 -
192.168.0.11 UNKNOWN nobody [01/May/2006:04:40:56 +0300] "QUIT" 221 -
192.168.0.11 UNKNOWN nobody [01/May/2006:04:40:56 +0300] "USER testuser" 331 -
192.168.0.11 UNKNOWN nobody [01/May/2006:04:40:56 +0300] "PASS (hidden)" 530 -

auszug aus dem FTP client
Code:
[03:42:45] Connecting to 192.168.0.9 Port: 21
[03:42:45] Connected to 192.168.0.9.
[03:42:45] 220 ProFTPD 1.3.0 Server (Test FTP Server) [192.168.0.9]
[03:42:45] USER testuser
[03:42:45] 331 Password required for testuser.
[03:42:45] PASS (hidden)
[03:42:45] 530 Keine Anmeldung für testuser möglich

ich weiss nicht mehr weiter, hab schon alles ausprobiert, bitte um hilfe


Titel: Re: Login Fehler 530
Beitrag von: stonki am 01. Mai 2006, 17:29:49
debug log....