Problem mit Proftpd

ProFTPd, vsftpd, pure-ftpd
Post Reply
Anonymous
 

Problem mit Proftpd

Post by Anonymous »

Hallo,

ich habe auf meinem Server (Debian Etch) Protfpd mit mysql installiert.

Code: Select all

aptitude install proftpd-mysql
Das läuft auch alles wunderbar.
In der Konfiguration(/etc/proftpd/proftpd.conf) habe ich dann folgendes angegeben:

Code: Select all

 SQLAuthenticate users* groups* usersetfast groupsetfast
Laut der Doku http://www.proftpd.org/localsite/Usergu ... icate.html soll wenn der * gesetzt ist nur diese Authentifizierung erlaubt sein. Aber leider können sich weiterhin User aus der Datenbank und Systemuser anmelden.
Kö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.c

Der 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
Vielen Dank für die Hilfe
User avatar
rudelgurke
Posts: 409
Joined: 2008-03-12 05:36
 

Re: Problem mit Proftpd

Post by rudelgurke »

Ist AuthOrder richtig gesetzt ?

AuthOrder mod_sql.c

Und dann nur dass, falls nur SQL verwendet werden soll.
Post Reply