src/Connections/LdapConnection.php
public function search($dn, $identifier, array $fields)
    {
        return ldap_search($this->connection, $dn, $identifier, $fields);
    }
public function search($dn, $identifier, array $fields)
    {
        return ldap_search($this->connection, $dn, $identifier, $fields);
    }
@param string $dn
@param string $identifier
@param array  $fields

@return resource