This function checks whether the candidate entry e matches the filter f. It does not support LDAP v3 extensible match filters.