Ignore ldap_search warnings (like in the old code)