Changeset 93c01888 in github
- Timestamp:
- Apr 21, 2010 9:44:14 AM (3 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 9ef5fa5
- Parents:
- f3e1010
- Files:
-
- 3 edited
-
CHANGELOG (modified) (1 diff)
-
config/main.inc.php.dist (modified) (1 diff)
-
program/include/rcube_ldap.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
rf3e1010 r93c01888 2 2 =========================== 3 3 4 - Add sizelimit and timelimit variables in LDAP config (#1486544) 4 5 - Hide IMAP host dropdown when single host is defined (#1486326) 5 6 - Add images pre-loading on login page (#1451160) -
config/main.inc.php.dist
rbc49601 r93c01888 388 388 'scope' => 'sub', // search mode: sub|base|list 389 389 'filter' => '', // used for basic listing (if not empty) and will be &'d with search queries. example: status=act 390 'fuzzy_search' => true); // server allows wildcard search 390 'fuzzy_search' => true // server allows wildcard search 391 'sizelimit' => '0', // Enables you to limit the count of entries fetched. Setting this to 0 means no limit. 392 'timelimit' => '0', // Sets the number of seconds how long is spend on the search. Setting this to 0 means no limit. 393 ); 391 394 */ 392 395 -
program/include/rcube_ldap.php
r5ffceb7 r93c01888 628 628 $this->_debug("C: Search [".$filter."]"); 629 629 630 if ($this->ldap_result = @$function($this->conn, $this->prop['base_dn'], $filter, array_values($this->fieldmap), 0, 0)) { 630 if ($this->ldap_result = @$function($this->conn, $this->prop['base_dn'], $filter, 631 array_values($this->fieldmap), 0, (int) $this->prop['sizelimit'], (int) $this->prop['timelimit']) 632 ) { 631 633 $this->_debug("S: ".ldap_count_entries($this->conn, $this->ldap_result)." record(s)"); 632 634 return true;
Note: See TracChangeset
for help on using the changeset viewer.
