- Timestamp:
- 09/30/11 14:25:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/contactcenter/inc/class.bo_global_ldap_catalog.inc.php
r4326 r5107 174 174 } 175 175 } 176 176 177 if($refer_context || "ou" === strtolower(substr($this->src_info['context'], 0, 2))) 178 { 179 $followReferral = false; 180 } 181 elseif(trim($rules[4]['value']) != "inetOrgPerson") 182 { 183 $followReferral = true; 184 } else{ 185 return false; 186 } 187 188 $ldap = $GLOBALS['phpgw']->common->ldapConnect($this->src_info['host'], $this->src_info['acc'], $this->src_info['pw'], $followReferral); 189 $result_r = ldap_search($ldap ,($refer_context ? $refer_context : $this->src_info['context']), $filter, $fields, 0, $this->src_info['max_results']); 190 177 191 $result_u = ldap_get_entries($ldap, $result_r); 178 192 // No entries found.
Note: See TracChangeset
for help on using the changeset viewer.