Bug 190988

Summary: Proftpd-mysql package
Product: [Fedora] Fedora Reporter: Charles VINCHON <charles.vinchon>
Component: proftpdAssignee: Matthias Saou <matthias>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: extras-qa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-23 10:40:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Charles VINCHON 2006-05-07 21:29:54 UTC
Description of problem:


Version-Release number of selected component (if applicable):
1.3.0-2.fc5

How reproducible:



Steps to Reproduce:
1.install proftpd
2.install proftp-mysql
3.modify proftpd.conf and use a "SQLxxx" directive
  
Actual results:
proftpd don't start with SQL directives used
proftfpd -l don't list mod_auth_SQL.c
Expected results:
proftpd should start with SQL support

Additional info:
I have the following error: "-Fatal : inknown configuration directive
'SQLAuthTypes' on line 47 of '/etc/proftpd.conf'"

Comment 1 Charles VINCHON 2006-05-07 21:54:27 UTC
it seems that ldap, and postgresql packages have the same procblem ,
mod_auth_ldap.c and the other file aren't find with "proftpd -l". Do we have to
use a special directive in proftpd.conf to use the SQL and ldap packages?

Comment 2 Matthias Saou 2006-05-10 11:06:29 UTC
$ rpm -qd proftpd | grep DSO
/usr/share/doc/proftpd-1.3.0/README.DSO
/usr/share/doc/proftpd-1.3.0/howto/DSO.html

From the README.DSO :

Once you have configured and installed your DSO modules, you need to add
the proper directives to your proftpd.conf, so that proftpd loads those
DSO modules when it starts up.  This is done using the LoadModule
configuration directive, provided by the mod_dso module:

  <IfModule mod_dso.c>
    LoadModule mod_sql.c
    LoadModule mod_sql_mysql.c
  </IfModule>

I've tried the above with "proftpd-mysql" installed, and it works.

Comment 3 Matthias Saou 2006-05-23 10:40:16 UTC
I've added this example section to the default proftpd.conf :

# SQL authentication Dynamic Shared Object (DSO) loading
# See README.DSO and howto/DSO.html for more details.
#<IfModule mod_dso.c>
#   LoadModule mod_sql.c
#   LoadModule mod_sql_mysql.c
#   LoadModule mod_sql_postgres.c
#</IfModule>

Closing as WORKSFORME :-)