ich habe auf meinem Server (Debian Etch) Protfpd mit mysql installiert.
Code: Select all
aptitude install proftpd-mysqlIn der Konfiguration(/etc/proftpd/proftpd.conf) habe ich dann folgendes angegeben:
Code: Select all
SQLAuthenticate users* groups* usersetfast groupsetfastKönnte mir bitte einer sagen was ich falsch eingestellt habe?
In der /etc/proftpd/modules.conf sind folgende Module aktiviert:
Code: Select all
ModuleControlsACLs insmod,rmmod allow user root
ModuleControlsACLs lsmod allow user *
#LoadModule mod_ctrls_admin.c
LoadModule mod_tls.c
LoadModule mod_sql.c
#LoadModule mod_ldap.c
LoadModule mod_sql_mysql.c
#LoadModule mod_sql_postgres.c
LoadModule mod_quotatab.c
LoadModule mod_quotatab_file.c
LoadModule mod_quotatab_ldap.c
LoadModule mod_quotatab_sql.c
#LoadModule mod_radius.c
#LoadModule mod_wrap.c
LoadModule mod_rewrite.c
# keep this module the last one
LoadModule mod_ifsession.cDer entsprechende Auszug aus der proftpd.conf ist:
Code: Select all
SQLAuthTypes Plaintext Crypt
SQLAuthenticate users* groups* usersetfast groupsetfast
# used to connect to the database
# databasename@host database_user user_password
SQLConnectInfo ftp@localhost dbsuername dbpassword
# Here we tell ProFTPd the names of the database columns in the "usertable"
# we want it to interact with. Match the names with those in the db
SQLUserInfo ftpuser userid passwd uid gid homedir shell
# Here we tell ProFTPd the names of the database columns in the "grouptable"
# we want it to interact with. Again the names match with those in the db
SQLGroupInfo ftpgroup groupname gid members
# set min UID and GID - otherwise these are 999 each
SQLMinID 500
# create a user's home directory on demand if it doesn't exist
SQLHomedirOnDemand on