530 Login or password incorrect!

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
mwille64
500 Command not understood
Posts: 4
Joined: 2016-09-01 22:43
First name: Matthias
Last name: Wille

530 Login or password incorrect!

#1 Post by mwille64 » 2016-09-01 23:17

I have searched all similar postings, but couldn't find a solution.

We are replacing our current FTP server because it does not support secure communication. We decided to install FileZilla Server as we also use the FileZilla client. To avoid some of the answers I have seen to other similar postings, let me clarify a few things upfront:

1) The network is set correctly (I do this for a living)
2) When using a user called Guest (no password required), a connection can be established and communication works fine.
3) When using a user called Academics (password is required), we get the password is incorrect message.
4) The password is correctly entered (for the purpose of this test installation, the password is a simple 1234)

Feel free to use both users to connect to our test server.

Any idea/help will be much appreciated.


FileZilla client reports the following:

Status: Resolving address of cabinet.ese-edu.com
Status: Connecting to 195.158.98.123:21...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Command: USER Academics
Response: 331 Password required for academics
Command: PASS ****
Response: 530 Login or password incorrect!
Error: Critical error: Could not connect to server

and...

https://ftptest.net/
Test your FTP server. Quick and easy.

Test log
Status: Resolving address of 195.158.98.123
Status: Connecting to 195.158.98.123
Warning: The entered address does not resolve to an IPv6 address.
Status: Connected, waiting for welcome message...
Reply: 220-FileZilla Server 0.9.58 beta
Reply: 220-written by Tim Kosse (tim.kosse@filezilla-project.org)
Reply: 220 Please visit https://filezilla-project.org/
Command: CLNT https://ftptest.net on behalf of 195.158.98.123
Reply: 200 Don't care
Command: AUTH TLS
Reply: 234 Using authentication type TLS
Status: Performing TLS handshake...
Status: TLS handshake successful, verifying certificate...
Status: Received 1 certificates from server.
Status: cert[0]: subject='CN=cabinet.ese-edu.com,C=MT,ST=MALTA,L=St. Julians,O=European School of English,EMAIL=mwille@ese-edu.com' issuer='CN=cabinet.ese-edu.com,C=MT,ST=MALTA,L=St. Julians,O=European School of English,EMAIL=mwille@ese-edu.com'
Command: USER Academics
Reply: 331 Password required for academics
Command: PASS ****
Reply: 530 Login or password incorrect!
Error: Login refused by server
Results

Error: Login refused by server
•Make sure you have entered the correct username and password for 195.158.98.123
•The server might refuse your login because there are already too many connected users. In this case try again in future. Consider increasing the limit, all modern servers can easily handle hundreds of concurrent users.

User avatar
botg
Site Admin
Posts: 35547
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: 530 Login or password incorrect!

#2 Post by botg » 2016-09-02 05:56

Please check the configured account again, make sure it's spelled correctly and that no password is required if none should be required.

mwille64
500 Command not understood
Posts: 4
Joined: 2016-09-01 22:43
First name: Matthias
Last name: Wille

Re: 530 Login or password incorrect!

#3 Post by mwille64 » 2016-09-02 07:11

botg wrote:Please check the configured account again, make sure it's spelled correctly and that no password is required if none should be required.

A password is required for any account other then the Guest account. The user is spelled correctly and the password too. If I remove the password and password option from the Academics account, it too does work (like the Guest account). As soon as the password option is enabled and password added, the 530 error comes up.

What I noticed is that once the password is entered, the number of asterisk symbols does not represent the length of the password entered. I assume that the password is encrypted and then saved. Not sure, but could something go wrong at this point?

mwille64
500 Command not understood
Posts: 4
Joined: 2016-09-01 22:43
First name: Matthias
Last name: Wille

Re: 530 Login or password incorrect!

#4 Post by mwille64 » 2016-09-02 07:38

mwille64 wrote:What I noticed is that once the password is entered, the number of asterisk symbols does not represent the length of the password entered. I assume that the password is encrypted and then saved. Not sure, but could something go wrong at this point?
OK, I found the reason and it points to an issue with the FileZilla Server.

The user names where all created with an upper case first letter. I renamed all accounts to have lower case letters only. And voila, it is working fine now.

The reason why I investigated upper lower case spelling was because of the https://ftptest.net/ log, which shows...

Command: USER Academics
Reply: 331 Password required for academics
Command: PASS ****
Reply: 530 Login or password incorrect!
Error: Login refused by server

To make it clear, when connecting to the server using the FileZilla client, the credentials given where with the respective correct spelling (first letter upper case). So somehow the FileZilla server is expecting lower case user names, despite the fact allowing upper and lower case spelling when creating the account.

User avatar
boco
Contributor
Posts: 26930
Joined: 2006-05-01 03:28
Location: Germany

Re: 530 Login or password incorrect!

#5 Post by boco » 2016-09-02 08:10

FileZilla Server doesn't care for the username case at all.

I used the same username like you, but couldn't reproduce at all. There's a piece of the puzzle missing. Maybe a special setting.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

mwille64
500 Command not understood
Posts: 4
Joined: 2016-09-01 22:43
First name: Matthias
Last name: Wille

Re: 530 Login or password incorrect!

#6 Post by mwille64 » 2016-09-02 08:32

boco wrote:FileZilla Server doesn't care for the username case at all.

I used the same username like you, but couldn't reproduce at all. There's a piece of the puzzle missing. Maybe a special setting.

Apparently it does, if a password is used. I have used no special setting, as there are no special settings which would impact the user names spelling.

Unless special setting refers to that I use a self signed certificate (created with the provided wizard) and that I enforce TLS.

User avatar
botg
Site Admin
Posts: 35547
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: 530 Login or password incorrect!

#7 Post by botg » 2016-09-02 08:47

Case of username doesn't matter, it's always normalized to lowercase internally.

jmar83
500 Command not understood
Posts: 2
Joined: 2018-07-22 08:05

Re: 530 Login or password incorrect!

#8 Post by jmar83 » 2018-07-22 08:10

Similar problem: The username is "web22", when i enter that i get:

Antwort: 331 Please specify the password.
Befehl: PASS ***********
Antwort: 530 Login incorrect.
Fehler: Kritischer Fehler
Fehler: Herstellen der Verbindung zum Server fehlgeschlagen



...when i change the first letter to upper-case, i get that:

Antwort: 220 (vsFTPd 2.3.5)
Befehl: USER Web22
Antwort: 530 Permission denied.
Fehler: Herstellen der Verbindung zum Server fehlgeschlagen


The server is NOT FileZilla, but that's not relevant in my opinion!! FTP is a standard. (So no discussions about that! :wink: )

With WinSCP it works, so YOUR CLIENT IS THE PROBLEM.

Currently i use v, 3.8.0.


Regards,
Jan

jmar83
500 Command not understood
Posts: 2
Joined: 2018-07-22 08:05

Re: 530 Login or password incorrect!

#9 Post by jmar83 » 2018-07-22 08:16

Sry. i was wrong, the password was changed an i didn't know that.

Regards,
Jan

User avatar
boco
Contributor
Posts: 26930
Joined: 2006-05-01 03:28
Location: Germany

Re: 530 Login or password incorrect!

#10 Post by boco » 2018-07-22 09:20

The server is NOT FileZilla
In that case you're wrong here, anyway. This subforum is ONLY for FileZilla Server support.
FTP is a standard. (So no discussions about that! :wink: )
Tell that to the many "FTP" servers and clients that blatantly violate said standards.
Currently i use v, 3.8.0.
With that version, you're not even allowed to post here. Only the LATEST versions of FileZilla products are supported. With every new version, the previous one automatically loses eligibility for any support (except updating).
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Post Reply