02cdded
--- ./configuration-file/pure-ftpd.conf.in.config	2006-02-15 14:15:47.000000000 +0100
fc5c0bd
+++ ./configuration-file/pure-ftpd.conf.in	2006-04-09 17:31:03.000000000 +0200
043fee0
@@ -9,7 +9,7 @@
043fee0
 # instead of command-line options, please run the
043fee0
 # following command :
043fee0
 #
043fee0
-# @prefix@/sbin/pure-config.pl @prefix@/etc/pure-ftpd.conf
043fee0
+# @sbindir@/pure-config.pl @sysconfdir@/pure-ftpd.conf
043fee0
 #
043fee0
 # Please don't forget to have a look at documentation at
043fee0
 # http://www.pureftpd.org/documentation.shtml for a complete list of
043fee0
@@ -107,23 +107,23 @@
043fee0
 
043fee0
 # LDAP configuration file (see README.LDAP)
043fee0
 
043fee0
-# LDAPConfigFile                /etc/pureftpd-ldap.conf
043fee0
+# LDAPConfigFile                @sysconfdir@/pureftpd-ldap.conf
043fee0
 
043fee0
 
043fee0
 
043fee0
 # MySQL configuration file (see README.MySQL)
043fee0
 
043fee0
-# MySQLConfigFile               /etc/pureftpd-mysql.conf
043fee0
+# MySQLConfigFile               @sysconfdir@/pureftpd-mysql.conf
043fee0
 
043fee0
 
043fee0
 # Postgres configuration file (see README.PGSQL)
043fee0
 
043fee0
-# PGSQLConfigFile               /etc/pureftpd-pgsql.conf
043fee0
+# PGSQLConfigFile               @sysconfdir@/pureftpd-pgsql.conf
043fee0
 
043fee0
 
043fee0
 # PureDB user database (see README.Virtual-Users)
043fee0
 
043fee0
-# PureDB                        /etc/pureftpd.pdb
043fee0
+# PureDB                        @sysconfdir@/pureftpd.pdb
043fee0
 
043fee0
 
043fee0
 # Path to pure-authd socket (see README.Authentication-Modules)
043fee0
@@ -134,7 +134,7 @@
043fee0
 
043fee0
 # If you want to enable PAM authentication, uncomment the following line
043fee0
 
043fee0
-# PAMAuthentication             yes
043fee0
+PAMAuthentication             yes
043fee0
 
043fee0
 
043fee0
 
043fee0
@@ -158,7 +158,7 @@
043fee0
 # 'ls' recursion limits. The first argument is the maximum number of
043fee0
 # files to be displayed. The second one is the max subdirectories depth
043fee0
 
043fee0
-LimitRecursion              2000 8
043fee0
+LimitRecursion              7500 8
043fee0
 
043fee0
 
043fee0
 
02cdded
@@ -237,7 +237,14 @@
043fee0
 
043fee0
 # Minimum UID for an authenticated user to log in.
043fee0
 
043fee0
-MinUID                      100
043fee0
+MinUID                      500
02cdded
+
02cdded
+
02cdded
+
02cdded
+# Do not use the /etc/ftpusers file to disable accounts. We're already
02cdded
+# using MinUID to block users with uid < 500
02cdded
+
02cdded
+UseFtpUsers no
043fee0
 
043fee0
 
043fee0
 
02cdded
@@ -276,7 +283,7 @@
043fee0
 
043fee0
 # Disallow anonymous users to upload new files (no = upload is allowed)
043fee0
 
043fee0
-AnonymousCantUpload         no
043fee0
+AnonymousCantUpload         yes
043fee0
 
043fee0
 
043fee0
 
02cdded
@@ -301,7 +308,7 @@
043fee0
 # fw.c9x.org - jedi [13/Dec/1975:19:36:39] "GET /ftp/linux.tar.bz2" 200 21809338
043fee0
 # This log file can then be processed by www traffic analyzers.
043fee0
 
043fee0
-# AltLog                     clf:/var/log/pureftpd.log
02cdded
+AltLog                     clf:@localstatedir@/log/pureftpd.log
043fee0
 
043fee0
 
043fee0
 
fc5c0bd
--- ./pureftpd-mysql.conf.config	2006-04-09 17:33:04.000000000 +0200
fc5c0bd
+++ ./pureftpd-mysql.conf	2006-04-09 17:33:27.000000000 +0200
fc5c0bd
@@ -19,7 +19,7 @@
fc5c0bd
 
fc5c0bd
 # Optional : define the location of mysql.sock if the server runs on this host.
fc5c0bd
 
fc5c0bd
-MYSQLSocket     /tmp/mysql.sock
fc5c0bd
+MYSQLSocket     /var/lib/mysql/mysql.sock
fc5c0bd
 
fc5c0bd
 
fc5c0bd
 # Mandatory : user to bind the server as.