Ignore:
Timestamp:
05/20/09 16:08:06 (15 years ago)
Author:
niltonneto
Message:

Ticket #480 - Inclusão dos grupos LDAP na busca do Catálogo Geral.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/contactcenter/inc/class.bo_global_ldap_catalog.inc.php

    r400 r880  
    132132                         
    133133                        $filter = $this->process_restrictions($rules, $trans_f); 
    134  
     134                        // Find objects where 'mail' attribute is not null. 
     135                        $filter = "(&".$filter."(mail=*))"; 
    135136                        if("ou" === strtolower(substr($this->src_info['context'], 0, 2)) || 
    136                                 (trim($rules[4]['value']) != "inetOrgPerson"))   
     137                                (trim($rules[0]['value']) == "phpgwAccount"))    
    137138                        {                        
    138139                                $ldap = $GLOBALS['phpgw']->common->ldapConnect($this->src_info['host'], $this->src_info['acc'], $this->src_info['pw'], true); 
Note: See TracChangeset for help on using the changeset viewer.