modify fields on search and discard entries with samaccountname