PDA

View Full Version : howto proftpd-mysql SQLAuth problem ?


magicslider
7th April 2006, 17:15
hi,

i followed the debian howto, with a newer proftpd version and mysql 5.0.19:

apt-get -t unstable install mysql-server mysql-client libmysqlclient15off
apt-get install proftpd=1.2.10+1.3.0rc5-3 proftpd-mysql=1.2.10+1.3.0rc5-3

step 4 Configure Proftpd, i got an error:
/etc/init.d/proftpd restart

unknown configuration directive 'SQLAuthTypes' on line 3 ...
# line 3 SQLAuthTypes Crypt

what is going wrong ? (with the paket proftpd.conf, is the ftp server running.)

thx magicslider

falko
7th April 2006, 20:07
unknown configuration directive 'SQLAuthTypes' on line 3 ...
# line 3 SQLAuthTypes Crypt

Maybe the newer ProFTPd version doesn't know this option anymore. Did you have a look at the ProFTPd changelog on the ProFTPd web site?

magicslider
8th April 2006, 12:52
hi falko,

first, thank you for the howto ! for me as rookie, it was the best of all !
but i think it only works for mysql versions < 4.1.

hmm, i can't find anything. maybe the mysql client of version 5 has changed.

do you know where i can find a howto of compiling proftpd with the new client ?

or a working howto with mysql >= 4.1 ?

thx magicslider

falko
8th April 2006, 13:56
You could try to downgrade to MySQL 4.0 to see if it works then. If it still doesn't work, then the problem is not MySQL.