134,150d133
<   // proviedes a single level search
<   // this function is a lot faster and more useful in many cases
<   // the method had to be named search_list because list is a reserved PHP word
<   function search_list($base_dn, $filter, $attributes = array()) {
<     $ret = array();
< 
<     set_error_handler(array('LDAPInterface', 'void_error_handler'));
<     $x = @ldap_list($this->connection, $base_dn, $filter, $attributes);
<     restore_error_handler();
< 
<     if ($x && ldap_count_entries($this->connection, $x)) {
<       $ret = ldap_get_entries($this->connection, $x);
<     }
< 
<     return $ret;
<   }  
<   
