code: public function search($dn, $identifier, array $fields)
      {
          return ldap_search($this->connection, $dn, $identifier, $fields);
      }
docs: @param string $dn
  @param string $identifier
  @param array  $fields
  
  @return resource