Adding new user fails with FTP

5 posts / 0 new
Last post
#1 Sun, 07/03/2011 - 15:55
WesleyE

Adding new user fails with FTP

Hi,

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?

Thanks,

Wesley

Sun, 07/03/2011 - 16:04
andreychek

Howdy,

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.

-Eric

Sun, 07/03/2011 - 18:18 (Reply to #2)
WesleyE

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.

Sun, 07/03/2011 - 18:23
andreychek

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.

-Eric

Sun, 07/03/2011 - 18:53 (Reply to #4)
WesleyE

I've found the error. I needed "RequireValidShell no" in my config. That fixed my problem. Thanks for the help though.

Topic locked