So I have been fighting PureFTPd for a bit now but I can't get it to work. My setup is running on Debian 10 and I installed PureFTPd with custombuild 2.0.
When I try to login with any real or virtual user I get the following error :
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Command: USER user
Response: 331 User user OK. Password required
Command: PASS ***************
Response: 530 Login authentication failed
Error: Critical error: Could not connect to server
However I am 100% certain the password is correct. Even when I switch to SFTP (which is not ran by PureFTPd) I can login without a problem.
Afterwards I have checked the log files in /var/log/messages which showed me:
server pure-ftpd: (?@censored_ip) [INFO] New connection from censored_ip
server pure-ftpd: (?@censored_ip) [INFO] TLS: Enabled TLSv1.3 with TLS_AES_256_GCM_SHA384, 256 secret bits cipher
server pure-ftpd: (?@censored_ip) [WARNING] Authentication failed for user [user]
server pure-ftpd: (?@censored_ip) [INFO] Logout.
which seems like a normal log when the password is incorrect but it is correct for sure...
I also tried changing MinUID in /etc/pure-ftpd.conf from 99 (after fresh install) to 14, since this seemed to be needed for virtual users. Also no luck...
The users can be found in /etc/proftpd.passwd so that shouldn't be the issue either.
To be sure I also temporarily disabled the firewall (csf & lfd) but also this did not help...
I'm not sure where else I can take a look. Does anybody have any advice?
When I try to login with any real or virtual user I get the following error :
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Command: USER user
Response: 331 User user OK. Password required
Command: PASS ***************
Response: 530 Login authentication failed
Error: Critical error: Could not connect to server
However I am 100% certain the password is correct. Even when I switch to SFTP (which is not ran by PureFTPd) I can login without a problem.
Afterwards I have checked the log files in /var/log/messages which showed me:
server pure-ftpd: (?@censored_ip) [INFO] New connection from censored_ip
server pure-ftpd: (?@censored_ip) [INFO] TLS: Enabled TLSv1.3 with TLS_AES_256_GCM_SHA384, 256 secret bits cipher
server pure-ftpd: (?@censored_ip) [WARNING] Authentication failed for user [user]
server pure-ftpd: (?@censored_ip) [INFO] Logout.
which seems like a normal log when the password is incorrect but it is correct for sure...
I also tried changing MinUID in /etc/pure-ftpd.conf from 99 (after fresh install) to 14, since this seemed to be needed for virtual users. Also no luck...
The users can be found in /etc/proftpd.passwd so that shouldn't be the issue either.
To be sure I also temporarily disabled the firewall (csf & lfd) but also this did not help...
I'm not sure where else I can take a look. Does anybody have any advice?