src/Connections/Ldap.php
public function search($dn, $filter, array $fields)
    {
        if ($this->suppressErrors) {
            return @ldap_search($this->getConnection(), $dn, $filter, $fields);
        }

        return ldap_search($this->getConnection(), $dn, $filter, $fields);
    }
public function search($dn, $filter, array $fields)
    {
        if ($this->suppressErrors) {
            return @ldap_search($this->getConnection(), $dn, $filter, $fields);
        }

        return ldap_search($this->getConnection(), $dn, $filter, $fields);
    }
public function search ( $ dn , $ filter , array $ fields ) { if ( $ this -> suppressErrors ) { return @ ldap_search ( $ this -> getConnection ( ) , $ dn , $ filter , $ fields ) ; } return ldap_search ( $ this -> getConnection ( ) , $ dn , $ filter , $ fields ) ; }
Performs a search on the current connection
with the specified distinguished name, filter
and fields.

@param string $dn
@param string $filter
@param array  $fields

@return resource
Performs a search on the current connection with the specified distinguished name filter and fields .