These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Adding new user fails with FTP on the new forum.
I'm having problems with my ftp service. When I setup an new ftp user on any domain, I cannot login with it. The server accepts the username, but when entering the password, it gives the "530 Login incorrect." message.
I know I'm using the correct password, and the username is user.domain right?
How does the ftp service store its users, so I can debug wether it actually saves the right information?
You can verify what username was created on your server by going into Edit Mail and FTP Users, and looking at the "IMAP / POP3 / FTP login" column.
You'd want to make sure that whatever is listed there is what you're using as the FTP username.
Thanks for your answer. Yes, I tried the username that was under the "IMAP / POP3 / FTP login" column. However, the password keeps getting rejected.
I've tried a couple of diffrent ftp clients, but it did not solve the problem.
By the way, the standart user virtualmin makes works just fine. Every new user for that domain fails authentication.
You may want to look in the log files in /var/log during the authentication attempt, to see if anything regarding that issue shows up.
You could also look at the users in /etc/passwd to make sure what was created matches what Virtualmin is showing you.
I've found the error. I needed "RequireValidShell no" in my config. That fixed my problem. Thanks for the help though.