#15389 [Opn->Fbk]: slow ldap connect
| From: | sniper@php.net | Date: | Wed, 02 Oct 2002 01:46:02 +0000 |
| Subject: | #15389 [Opn->Fbk]: slow ldap connect | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-21192@lists.php.net to get a copy of this message | ||
ID: 15389
Updated by: sniper@php.net
Reported By: martin@kouba.at
-Status: Open
+Status: Feedback
Bug Type: LDAP related
Operating System: w2k advanced server
PHP Version: 4.1.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-02-08 09:19:48] martin@kouba.at
yes, i've tried to connect with the ldap addressbook of groupwise 6
(connect in less than 1 sec) and a java ldap browser (connect in less
than 2 sec).
------------------------------------------------------------------------
[2002-02-07 17:33:17] venaas@php.net
Have you tried to connect to the LDAP server with something
else than PHP? Some other LDAP client, or even telnet to
the LDAP port? One possibility is that the LDAP server
spends some time trying to lookup the clients hostname in
order to check access or log the name.
------------------------------------------------------------------------
[2002-02-06 18:17:40] martin@kouba.at
<?
$start = date("U");
$server = "x.x.x.x"; // ip address of nds-server
$ds = ldap_connect($server);
$end = date("U");
echo "<br>".($end-$start)." Sekunden<br>";
?>
------------------------------------------------------------------------
[2002-02-06 18:05:27] derick@php.net
If you have a small script for me to test, that I can run as a
non-administrator user on the NDS. I might be able to check it.
Derick
------------------------------------------------------------------------
[2002-02-06 17:51:05] martin@kouba.at
i tried this on 3 different machines (1x nt4 ws; 1x w2k ws; 1x w2k
srv)
of course it can be that it is the novell server that causes the delay
but since this is a high performance machine (>1000 clients) i haven't
thought about that yet.
everything is connected via switched 100mbit (or better) full duplex.
do you have experiences with php ldap and nds?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/15389
--
Edit this bug report at http://bugs.php.net/?id=15389&edit=1