reorder inheritance chain and refactor pureftpd::config_ldap