[Mod_ftpd] Problems with DB type user database

Edward Rudd urkle at outoforder.cc
Tue Mar 15 20:27:11 EST 2005


On Wed, 2005-03-09 at 12:01, melim wrote:
> I´m having some trouble to configure mod_ftp to work with a DB type user
> database.
> Anyone has already done something using this features?

I am using the mod_ftpd_dbm module on my production server, using
FtpDBMType DB.  You may want to check which DB types are supported in
your apr-util compile. (but that should work fine).
Also what is the content of your DB ? 
   dbmchroot /usr/local/apache2/teste.dat view


> This is my Apache 2.0.52 configuration:
> 
> LoadModule ftpd_module modules/mod_ftpd.so
> LoadModule ftpd_dbm_module modules/mod_ftpd_dbm.so
> 
> LogLevel Debug
> Listen 21
> <VirtualHost *:21>
>         DocumentRoot /var/ftp
>         FtpProtocol On
>         FtpDBMType DB
>         FtpDBMFile /usr/local/apache2/teste.dat
>         <Directory /var/ftp>
>                 AuthName "Ftp"
>                 AuthType Basic
>                 require user andrem
>                 order allow,deny
>                 allow from all
>         </Directory>
>          <Location />
>                 <LimitExcept CHDIR GET LIST>
>                         deny from all
>                 </LimitExcept>
>         </Location>
> 
>          <Location /upload>
>                 <LimitExcept LIST PUT MKCOL CHDIR>
>                         deny from all
>                 </LimitExcept>
>                 FtpAllowOverWrite Off
>         </Location>
> </VirtualHost>
> 
> 
> And these are my error_log mesages:
> [Wed Mar 09 13:51:44 2005] [debug] ftp_protocol.c(344): [client 127.0.0.1]
> handler state: 1F, epsv mode: 0
> [Wed Mar 09 14:01:16 2005] [debug] ftp_protocol.c(331): [client 127.0.0.1]
> C:(11)USER andrem
> [Wed Mar 09 14:01:16 2005] [debug] ftp_protocol.c(344): [client 127.0.0.1]
> handler state: 3, epsv mode: 0
> [Wed Mar 09 14:01:17 2005] [debug] ftp_protocol.c(331): [client 127.0.0.1]
> C:(10)PASS andre
> [Wed Mar 09 14:01:17 2005] [debug] ftp_protocol.c(344): [client 127.0.0.1]
> handler state: 102, epsv mode: 0
> [Wed Mar 09 14:01:17 2005] [debug] ftp_protocol.c(240): [client 127.0.0.1]
> Checking Method: CHDIR (27)
> [Wed Mar 09 14:01:17 2005] [debug] ftp_protocol.c(252): [client 127.0.0.1]
> URI / -> /var/ftp/
> [Wed Mar 09 14:01:17 2005] [error] [client 127.0.0.1] (-1)Unknown error
> 4294967295: Unauthorized user 'andrem' tried to log in:
> 
> I will be gratefull for any help.
> 
> 
> _______________________________________________
> Download the latest version at http://www.outoforder.cc/projects/apache/mod_ftpd/
> 
> To unsubscribe send an e-mail to 
mod_ftpd-unsubscribe at lists.outoforder.cc
-- 
Edward Rudd <urkle at outoforder.cc>
Website http://www.outoforder.cc/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.outoforder.cc/pipermail/mod_ftpd/attachments/20050315/e62a4838/attachment.bin


More information about the Mod_ftpd mailing list