RE: [PEAR] Net_LDAP very slow
| From: | Ryan Taylor | Date: | Mon, 12 May 2008 09:27:46 +0000 |
| Subject: | RE: [PEAR] Net_LDAP very slow | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-28913@lists.php.net to get a copy of this message | ||
Hi Christian,
I've got a procedural script that retrieves my directory in 0.6 seconds but doing the same
thing with Net_LDAP takes 14. I'm not sure why?
Ryan
-----Original Message-----
From: Christian Weiske [mailto:cweiske@cweiske.de]
Sent: 09 May 2008 08:55
To: pear-general@lists.php.net
Subject: Re: [PEAR] Net_LDAP very slow
Hello Ryan,
> I'm using the Net_LDAP package to query our AD server.
> It's taking around 14 seconds to pull 300 user accounts from the
> server. Is there any way to speed up the package??
Are other tools faster? You might analyze the network traffic to see the difference in
queries/results of other tools and Net_LDAP.
Normally, Net_LDAP should not be much slower than other tools.
--
Regards/Mit freundlichen Grüßen
Christian Weiske