First install pure-ftpd:
apt-get install pure-ftpd-common pure-ftpd-ldap |
Configuration: you need to edit some files. Examples are in the /examples directory. I recommend you do a diff between the original and the example before you start editing.
In the web interface, create a test user and enable ftp for this user. Try loging in. Pay attention to the homedir, does the changeroot work?
If the above works, disable ftp access for the test user in the web interface and try login in again. If this succeeds, there is a bug in your pureftpd configuration!