pureftpd_mysql_virtual_hosting

Discussion in 'HOWTO-Related Questions' started by alaK, Dec 24, 2006.

  1. alaK

    alaK New Member

    Ok, i got it running. But i have problem with logging in. It says [00:46:04] 530 Authentication failed, sorry. But on mysql.conf i have "MYSQLCrypt md5" and i also added user with md5. I double checked user/password..they are correct. How can i fix this ?
     
  2. falko

    falko Super Moderator ISPConfig Developer

  3. alaK

    alaK New Member

    Yes, i did.
     
  4. alaK

    alaK New Member

    I did copy/paste. I tried to use cleartext but still can't login..how do i fix this ?
     
  5. falko

    falko Super Moderator ISPConfig Developer

    Do the user and password exist in the ftpd table? Did you save the MD5 of the password in the ftpd table?
     
  6. alaK

    alaK New Member

    Yes. I added the user like this:
    INSERT INTO `ftpd` (`User`, `status`, `Password`, `Uid`, `Gid`, `Dir`, `ULBandwidth`, `DLBandwidth`, `comment`, `ipaccess`, `QuotaSize`, `QuotaFiles`) VALUES ('exampleuser', '1', MD5('secret'), '2001', '2001', '/home/www.example.com', '100', '100', '', '*', '50', '0');

    I've also tried to re-add it with phpmyadmin..
     
  7. falko

    falko Super Moderator ISPConfig Developer

    And you use exampleuser and secret in your ftp client?

    How long is the Password field in the ftpd table?
     
  8. alaK

    alaK New Member

    No, i replaced it with my own username and password. Password field is varchar64.
     
  9. falko

    falko Super Moderator ISPConfig Developer

    That's long enough... I think I'm running out of ideas now... :(
     
  10. alaK

    alaK New Member

    Aren't their any logs to check what is causing it ?
    If no :( I will try proftp-mysql to install :D
     
    Last edited: Dec 27, 2006
  11. falko

    falko Super Moderator ISPConfig Developer

    The logs are in /var/log/.
     
  12. alaK

    alaK New Member

    I didn't find anything on /var/log that would help in this case. I got ProFTP working :) Thanks :)
     

Share This Page