====== Pure-FTPd installation ====== Started from a fresh installation of the Debian package (Etch) ===== Basic ===== * Modified ''/etc/default/pure-ftpd-common'', directive STANDALONE_OR_INTED=standalone * Commented out line ''ftp stream tcp ...'' in ''/etc/inetd.conf'' * Changed content ''/etc/pure-ftpd/auth/70pam'' to 'no' * Created ''/etc/pure-ftpd/conf/PassivePortRange'' with my open port in it ===== PureFTP LDAP ===== * Edited file ''/etc/pure-ftpd/db/ldap.conf'' with directive following configuration description (good documentation about that) ===== PureFTP TLS ===== * Put private key and public key into file ''/etc/ssl/private/pure-ftpd.pem'' (with ''cat'') * Created ''/etc/pure-ftpd/conf/TLS'' with value 2 in it ===== LDAP ===== * Created /usr/share/pure-ftpd/ * Copy /usr/share/doc/pure-ftpd-common/pureftpd.schema to /etc/ldap/schema/pureftpd.schema * Add 'include /etc/ldap/schema/pureftpd.schema' to /etc/ldap/slapd.conf * Modified ''/usr/share/pure-ftpd/pureftpd.schema'':47, removed word SYNTAX that was set twice ... * Modified several thing in it, ... Get the file from somewhere ... I'll provide it > I noticed that it was a [[http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=pure-ftpd-ldap|known bug]] in Debian (two last line) ===== See ===== * [[http://users.linuxbourg.ch/waver/blog/index.php?post/2004/11/11/2-installer-le-serveur-ftp-pure-ftpd-avec-le-mode-tlsssl]]