Changeset 1419 for trunk/contactcenter/inc/class.bo_ldap_manager.inc.php
- Timestamp:
- 09/17/09 17:39:22 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/contactcenter/inc/class.bo_ldap_manager.inc.php
r880 r1419 285 285 include(PHPGW_INCLUDE_ROOT . '/contactcenter/setup/external_catalogs.inc.php' ); 286 286 //include('external_catalogs.inc.php' ); 287 287 288 288 if (!$external_srcs[$id_source]) 289 289 { 290 290 return null; 291 291 } 292 292 293 293 // calls test_connection first. If succeeded continue, return error message otherwise. 294 294 if (!($response = $this->test_connection($external_srcs[$id_source]['host'], $external_srcs[$id_source]['acc'], $external_srcs[$id_source]['pw'], 10))) … … 468 468 // and whose attribute phpgwAccountVisible value is different from -1 469 469 $filter = '(&(!(objectClass='.$objectClass.')) (!(phpgwAccountVisible=-1)))'; 470 } 471 $context = preg_replace("/dc=(.*)/i",$this->srcs[$id_source]['dn'],$context); 470 $context = preg_replace("/dc=(.*)/i",$this->srcs[$id_source]['dn'],$context); 471 } 472 472 473 $result_res = @ldap_list($resource, $context, $filter, array(), 0, 0); 473 474 if (!$result_res)
Note: See TracChangeset
for help on using the changeset viewer.