#31307 [Opn->Bgs]: How to search more effectively
| From: | derick@php.net | Date: | Mon, 27 Dec 2004 13:59:16 +0000 |
| Subject: | #31307 [Opn->Bgs]: How to search more effectively | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-71124@lists.php.net to get a copy of this message | ||
ID: 31307
Updated by: derick@php.net
Reported By: randyzhu at yeah dot net
-Status: Open
+Status: Bogus
Bug Type: LDAP related
Operating System: RedHat 9.0
PHP Version: 4.3.8
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
.
Previous Comments:
------------------------------------------------------------------------
[2004-12-27 11:03:07] randyzhu at yeah dot net
Description:
------------
it will take about 100 secs to fetch about 10,000 entries.
how to improve the performance?
Reproduce code:
---------------
$dn = "o=My Company, c=US";
$filter="(cn=*)";
$justthese = array("ou", "cn", "givenname", "mail");
$sr=ldap_search($ds, $dn, $filter, $justthese);
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31307&edit=1