View Single Post
  #27  
Old 20th July 2008, 22:58
dragon dragon is offline
Junior Member
 
Join Date: Jul 2008
Location: Sofia, Bulgaria
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Exclamation ProFTPD 1.3.0 with MySQL and MD5 hash on Debian Etch 4.0

Hi all,

this comes a bit late , but I hope someone can use this information.

1. ProFTPD fully supports MySQL authentication with MD5 hashes - the same used by Linux and UNIX systems in the /etc/shadow file. To use it, enter the following directive in your proftpd.conf file along with all other SQL directives:

SQLAuthTypes Crypt Plaintext

(You can probably skip the Plaintext if everything with hashes is working fine and you don't need fallback. I will update you on that later ).

2. When you get a message saying "FTP session requested from unknown class" on Debian Etch 4.0 (ProFTPD Version 1.3.0) and you are trying to use MySQL authentication, this is probably due to the

LoadModule mod_sql_postgres.c

in /etc/proftpd/modules.conf file, which line should be commented out.
I see this as a bug in the proftpd package, since I have NOT installed the proftpd-pgsql package, so this line should not be present, and also, at least it shouldn't affect the work of the proftpd-mysql package, which is successfully installed.

I would like to thank Falko for this line, mentioned in his tutorial (see up).
Reply With Quote