Yo,
I have a web site (Apache/PHP/MySQL) on a host, where users could register and have their own private access. Their login/pwd are stored in MySQL DB on this server.
I want to offer them to download some files, once they are correctly logged on my site. These files are stored on another host (other IP address) which is a Linux FTP server.
How could I do to make FTP server checks login/passwd into the distant MySQL DB, instead of local /etc/passwd.
FTP server flavour is vsftpd.
I read some lines about PAM-MySQL but there are so few details, and moreover it seems it is an old project. So, I still have no idea.
Any help would be appreciated