Changeset 3530 for branches/2.2/expressoAdmin1_2/inc
- Timestamp:
- 11/23/10 15:22:12 (13 years ago)
- Location:
- branches/2.2/expressoAdmin1_2/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoAdmin1_2/inc/class.functions.inc.php
r3456 r3530 562 562 563 563 $justthese = array("dn","diskQuota","usersQuota","actualDiskQuota"); 564 $filter = "(o u=*)";564 $filter = "(objectClass=organizationalUnit)"; 565 565 foreach ($contexts as $context) { 566 566 $search=ldap_search($ldap_conn, $context, $filter, $justthese); … … 575 575 $dn = $info[$i]["dn"]; 576 576 577 // Necessário, pq em uma busca com ldapsearch o u=*, traz tb o próprio ou.577 // Necessário, pq em uma busca com ldapsearch objectClass=organizationalUnit, traz tb o próprio ou. 578 578 //if (strtolower($dn) == $context) 579 579 //continue; … … 731 731 732 732 $justthese = array("dn"); 733 $filter = "(o u=*)";733 $filter = "(objectClass=organizationalUnit)"; 734 734 735 735 $systemName = strtolower($GLOBALS['phpgw_info']['server']['system_name']); -
branches/2.2/expressoAdmin1_2/inc/class.ldap_functions.inc.php
r3396 r3530 338 338 */ 339 339 340 $filter = "(o u=*)";340 $filter = "(objectClass=organizationalUnit)"; 341 341 $justthese = array("ou"); 342 342 $search = ldap_list($ldap_connection2, $context, $filter, $justthese);
Note: See TracChangeset
for help on using the changeset viewer.