Help needed to set up vsftpd with mysql pam - 530 Login Incorrect
Although I am a PHP MySQL programmer for over 7 years I am having problems setting up vsftpd to work with mysql -pam. I had my host set it up for me as I do not know Linux at all. I had them follow the tutorial:
I then was able to get SmartFTP to work properly. Here is the successful login using Smart FTP:
[13:33:22] SmartFTP v4.0.1072.0
[13:33:22] Resolving host name "XXXXXXXXXXXXX"
[13:33:22] Connecting to XXXXXXXXXXXX Port: 21
[13:33:22] Connected to XXXXXXXXXXXXXXXX.
[13:33:22] 220 (vsFTPd 2.0.7)
[13:33:22] USER XXXXXXXXXXXXXXXX
[13:33:22] 331 Please specify the password.
[13:33:22] PASS (hidden)
[13:33:23] 230 Login successful.
[13:33:23] 215 UNIX Type: L8
And I can see the two directories that I created in my virtual FTP in SmartFTP. So I know vsftpd mysql is working and directing SmartFTP to the correct directory.
But with FTP Commander and WS FTP I receive 530 Login Incorrect error.
Here is the connection using FTP Commander:
Connecting to XXXXXXXXXXXXXXXX , 04 Jan 2010 13:35:32
< 530 Login incorrect.
530 Login incorrect.
I have tried passive and active modes in FTP Commander.
Here is the vsftpd
auth required pam_mysql.so user=vsftpd passwd=ftpdpass host=localhost db=vsftpd table=accounts usercolumn=username passwdcolumn=pass crypt=2
account required pam_mysql.so user=vsftpd passwd=ftpdpass host=localhost db=vsftpd table=accounts usercolumn=username passwdcolumn=pass crypt=2
Here is vfstpd.conf:
Any help would be appreciated.
Did you try both active and passive transfers in your FTP clients?
In my first post I did say that I tried both passive and active modes.
"I have tried passive and active modes in FTP Commander."
Can you recommend a new server host as they have totally screwed the system up now. A host that is familiar with this set up and has high capacity servers and bandwidth.
I have decided that vsftpd is not working so I am going to attempt to install pure-ftpd with mysql.
|All times are GMT +2. The time now is 05:54.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.