LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   proftp 530 Login incorrect (https://www.linuxquestions.org/questions/linux-newbie-8/proftp-530-login-incorrect-819071/)

windstory 07-10-2010 08:20 AM

proftp 530 Login incorrect
 
My box is centos 5.4 x86, and I installed xampp and Gadmin-proftpd.

On trying to connect to my system though ftp, I have an error message.

Quote:

Message reported from file system: 530 Login incorrect

The proftpd.conf is here.
Quote:

ServerType standalone
DefaultServer on
Umask 022
ServerName "dstory_FTPD"
ServerIdent on "dstory Server Pack"
ServerAdmin dstory@gmail.com
IdentLookups off
UseReverseDNS off
Port 21
PassivePorts 60000 62000
#MasqueradeAddress None
TimesGMT off
MaxInstances 30
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 120
TimeoutIdle 120
DisplayLogin /opt/lampp/proftpd/welcome.msg
DisplayChdir .message
User nobody
Group nobody
DirFakeUser off nobody
DirFakeGroup off nobody
DefaultTransferMode binary

#s FXP
AllowForeignAddress on
PassivePorts 49152 65534

AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TransferRate RETR 220
TransferRate STOR 250
TransferRate STOU 250
TransferRate APPE 250
SystemLog /opt/lampp/logs/proftpd/secure
RequireValidShell off
<IfModule mod_tls.c>
TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSProtocol SSLv23
TLSLog /opt/lampp/logs/proftpd/proftpd_tls.log
TLSRSACertificateFile /etc/gadmin-proftpd/certs/cert.pem
TLSRSACertificateKeyFile /etc/gadmin-proftpd/certs/key.pem
TLSCACertificateFile /etc/gadmin-proftpd/certs/cacert.pem
TLSRenegotiate required off
#TLSOptions AllowClientRenegotiation
</IfModule>
<IfModule mod_ratio.c>
Ratios off
SaveRatios off
RatioFile "/restricted/proftpd_ratios"
RatioTempFile "/restricted/proftpd_ratios_temp"
CwdRatioMsg "Please upload first!"
FileRatioErrMsg "FileRatio limit exceeded, upload something first..."
ByteRatioErrMsg "ByteRatio limit exceeded, upload something first..."
LeechRatioMsg "Your ratio is unlimited."
</IfModule>
<Limit LOGIN>
AllowUser logintest
DenyALL
</Limit>

<Anonymous /var/www/html/logintest>
User tester
Group webteam
AnonRequirePassword on
MaxClients 3 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayChdir .msg
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
AllowOverwrite on
<Limit LIST NLST STOR STOU APPE RETR RNFR RNTO DELE MKD XMKD SITE_MKDIR RMD XRMD SITE_RMDIR SITE SITE_CHMOD SITE_CHGRP MTDM PWD XPWD SIZE STAT CWD XCWD CDUP XCUP >
AllowAll
</Limit>
<Limit NOTHING >
DenyAll
</Limit>
</Anonymous>

windstory 07-12-2010 11:54 PM

The result of "proftpd -n -d 20" is here.

Quote:

localhost.localdomain - no matching vhost found for ::ffff:192.168.0.4#21, using DefaultServer 'logintest.dyndns.org'
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - ROOT PRIVS at main.c:1076
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - SETUP PRIVS at main.c:1081
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - session requested from client in unknown class
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - performing module session initializations
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - mod_tls/2.2.2: scrubbing 1 passphrase from memory
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - mod_sql/4.2.2: defaulting to 'mysql' backend
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - mod_ident/1.0: ident lookup disabled
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - ROOT PRIVS at mod_delay.c:1283
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - RELINQUISH PRIVS at mod_delay.c:1285
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - ROOT PRIVS at mod_auth.c:117
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - opening scoreboard '/opt/lampp/var/proftpd/proftpd.scoreboard'
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - RELINQUISH PRIVS at mod_auth.c:119
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - connected - local : ::ffff:192.168.0.4:21
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - connected - remote : ::ffff:192.168.0.1:8395
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - FTP session opened.
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching PRE_CMD command 'USER logintest' to mod_tls
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching PRE_CMD command 'USER logintest' to mod_core
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching PRE_CMD command 'USER logintest' to mod_core
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching PRE_CMD command 'USER logintest' to mod_delay
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching PRE_CMD command 'USER logintest' to mod_auth
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching CMD command 'USER logintest' to mod_auth
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching POST_CMD command 'USER logintest' to mod_sql
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching POST_CMD command 'USER logintest' to mod_delay
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching LOG_CMD command 'USER logintest' to mod_sql
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching LOG_CMD command 'USER logintest' to mod_log
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_tls
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_sql
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_delay
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching CMD command 'PASS (hidden)' to mod_auth
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - retrieved UID 511 for user 'logintest'
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - retrieved group IDs: 502, 100
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - retrieved group names: webteam, users
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - ANON logintest (Login failed): Limit access denies login.
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching POST_CMD_ERR command 'PASS (hidden)' to mod_sql
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching POST_CMD_ERR command 'PASS (hidden)' to mod_delay
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_sql
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_auth
localhost.localdomain (::ffff:192.168.0.1[::ffff:192.168.0.1]) - FTP session closed.


All times are GMT -5. The time now is 09:34 AM.