This is the simplest configuration possible. It is one-tier, with only home directories being managed. All users get defaults unless overidden on the command line.
global: uidset=5000-60000 gidset=5000-6000 manage=home ldapserver=172.16.1.4 ldapport=389 ldapbasedn=dc=example,dc=com ldapbinddn=cn=admin,dc=example,dc=com ldapbindpw=ASK ldapuserdn=uid=%u,ou=people,dc=example,dc=com ldapgroupdn=cn=%g,ou=group,dc=example,dc=com default=users home=/home/%u shell=/bin/ksh user_template=users.ldap group_template=groups.ldap users: group=1000
This configuration has three tiers of users (paid/free/dev). Free and dev have custom home directories and shells. Paid is the default tier and is set to rely upon the default home and shell parameters. All tiers manage user home directories, but "devusers" also manages mysql databases.
global: uidset=5000-60000 gidset=5000-6000 manage=home ldapserver=172.16.1.4 ldapport=389 ldapbasedn=dc=example,dc=com ldapbinddn=cn=admin,dc=example,dc=com ldapbindpw=ASK ldapuserdn=uid=%u,ou=people,dc=example,dc=com ldapgroupdn=cn=%g,ou=group,dc=example,dc=com default=paidusers sqlserver=172.16.1.3 sqluser=root sqlpw=ASK home=/fs/files/home/%u shell=/bin/tcsh user_template=users.ldap group_template=groups.ldap paidusers: group=1004 freeusers: group=1003 home=/fs/files/www/uweb/users/%u shell=/bin/false devusers: group=1005 manage=home,mysql home=/home/uweb/devel/%u shell=/bin/ksh
This configuration has three tiers of users (students/faculty/alumni). It automatically creates symlinks for htdocs and the user Maildir in various places. Pure-FTPd Quotas are in place for each tier. Students and Faculty get websites and personal databases, but Alumni get neither.
global: uidset=10000-50000 gidset=10000-15000 pureftpd=true manage=home,web,mail,sql ldapserver=172.16.1.3 ldapport=389 ldapbasedn=dc=example,dc=com ldapbinddn=cn=admin,dc=example,dc=com ldapbindpw=ASK ldapcreatedn=uid=%u,ou=people,dc=example,dc=com ldapgroupdn=cn=%g,ou=group,dc=example,dc=com default=students sqlserver=172.16.1.3 sqluser=root sqlpw=ASK home=/home/%u shell=/bin/ksh apachesites=/etc/apache2/sites-enabled/ apachedomain=example.com apacheport=80 apachectl=/etc/init.d/apache2 user_template=users.ldap group_template=groups.ldap students: group=1004 home=/home/uweb/%u web=/fs/files/www/uweb/%u weblink=/home/uweb/%u/htdocs,/fs/files/www/vhost-dir/example.com/%u mail=/home/uweb/%u/Maildir maillink=/var/spool/maildir/%u shell=/bin/tcsh FTPQuotaMBytes=1500 script=/usr/local/sbin/ext-students %u faculty: group=1003 home=/fs/files/faculty/%u web=/fs/files/www/%u weblink=/fs/files/faculty/%u/htdocs,/fs/files/www/vhost-dir/example.com/%u mail=/fs/files/faculty/%u/Maildir maillink=/var/spool/maildir/%u shell=/bin/ksh FTPQuotaMBytes=3000 script=/usr/local/sbin/ext-faculty %u alumni: group=1005 manage=home,mail home=/home/uweb/%u mail=/home/uweb/%u/Maildir shell=/bin/false FTPQuotaMBytes=300 script=/usr/local/sbin/ext-alumni %u