Changeset 4353 for sandbox


Ignore:
Timestamp:
05/12/11 09:25:40 (13 years ago)
Author:
airton
Message:

Ticket #1820 - Modificado implementacao que lista Referrals, sem ldap_next_reference() - r4326

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.2.0.2/contactcenter/inc/class.bo_global_ldap_catalog.inc.php

    r4352 r4353  
    151151            // Find objects where 'mail' attribute is not null. 
    152152                        $filter = "(&".$filter."(mail=*))"; 
    153  
     153             
     154                        $ldap = $GLOBALS['phpgw']->common->ldapConnect($this->src_info['host'], $this->src_info['acc'], $this->src_info['pw'], true); 
     155                        $result_r = $recursive ? ldap_search($ldap , $this->src_info['context'], $filter, $fields, 0, $this->src_info['max_results']) : 
     156            ldap_list($ldap , $this->src_info['context'], $filter, $fields, 0, $this->src_info['max_results']); 
    154157 
    155158                        if (!$result_r) 
Note: See TracChangeset for help on using the changeset viewer.