Added new config option result_attributes for ldap queries.