|
| proftpd og mysql Fra : PowerCom |
Dato : 14-11-01 14:34 |
|
jeg har et problem med proftpd og mysql jeg har kompileret dem med
../configure --with-modules=mod_sql:mod_sql_mysql
og har prøvet med
../configure --with-modules=mod_sql:mod_sql_mysql \
--with-includes=/usr/local/include \
--with-libraries=/usr/local/lib/mysql
min proftpd.conf ser sådan here ud:
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "Armsby's Privat FTP Server"
ServerType standalone
DefaultServer on
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30
# Set the user and group that the server normally runs at.
User nobody
Group nobody
#PersistentPasswd off
#AuthPAMAuthoritative off
ServerIdent on "FTP Server ready for action"
#MaxClients 40 "No room for any more connections at the moment! 50 is
enough!"
MaxClientsPerHost 1 "Only one connection per host, please"
MaxLoginAttempts 5
SQLConnectInfo proftpd:3000 proftpd *****
SQLUserTable ftp
SQLUsernameField userid
SQLUidField uid
SQLGidField gid
SQLPasswordField passwd
SQLHomedirField homedir
SQLLoginCountField count
SQLAuthTypes Crypt Plaintext
SQLAuthoritative on
SQLDoAuth on
#SQLLogStats on
#SQLLogHits ftplog
#SQLLogDirs fcdir
#SQLLogHosts fhost faddr ftime
# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
</Directory>
<Global>
PassivePorts 56000 65096
ShowSymlinks on
DeleteAbortedStores off
</Global>
TimeoutIdle 60
HiddenStor on
ShowSymlinks on
mit problem er at proftpd ikke vil bruge min sql database hvad har jeg gjort
forkert
MVH
Lars
| |
Martin (15-11-2001)
| Kommentar Fra : Martin |
Dato : 15-11-01 19:50 |
|
"PowerCom" <PowerCom@anarchy.dk> wrote in message
news:3bf272ba$0$756$edfadb0f@dspool01.news.tele.dk...
> jeg har et problem med proftpd og mysql
Jeg har lidt travlt men så lige dit indlæg, det kan være du kan finde lidt
hjælp på
http://www.braindump.dk/dk/wiki/?wikipage=AvanceretFTP
Der er en lille guide til hvordan man smækker en proftpd server op med en
mysql database
Mvh
Martin
| |
Armsby (16-11-2001)
| Kommentar Fra : Armsby |
Dato : 16-11-01 19:19 |
|
Har også et problem med det min proftpd siger connect failed men når jeg
skriver
mysql -u ftp -p ftp
også det samme passwd komme jeg godt nok nd hvad kan mit problem være
| |
|
|