After do exactly follow howtoforge, I couldnot login to pure-ftpd-ldap with my current virtual postfix account. It says login authentication failed. I used Ubuntu 9.04 Server.
By the way, the configuration pure-ftp-ldap in Ubuntu 9.04 is much more difference to CentOS or RH. We have no /etc/pure-ftpd/pure-ftpd.conf and /etc/pure-ftpd/pureftpd-ldap.conf.
You'll install pure-ftpd-ldap by
apt-get install pure-ftpd-ldap
The 1st configuration file is replaced with /etc/pure-ftpd/conf/CreateHomeDir, just do like this to set "CreateHomeDir yes"
echo yes >/etc/pure-ftpd/conf/CreateHomeDir
The 2nd one is replaced with /etc/pure-ftpd/db/ldap.conf, do the others like howtoforge.
Finally, I found there has no ftp-account (with uid=1000, gid-1000) to start pure-ftpd-ldap deamon. The system always uses " ... -u 1000 ..." when you do "/etc/init.d/pure-ftpd-ldap start". I tried create that ftp account (by usermod -o -uid 1000 -gid 1000) but no difference.
How can I insert the PureFTP attributes in iredadmin or do a batch job? I want a FTP info will be inserted while create new email account. It'll be perfect if you add an option on iredadmin (not copy from an existed account)
Wait for your help.