[PHP] Slow LDAP Queries

2003-12-16 Thread Phil Dowson
Hi, I am using ldap_bind to connect to an Active Directory server to authenticate users on a website. Although the script is running, occasionally, and at random, the process to authenticate the user will take almost exactly 75 seconds (within 100ths of a second). Other times the authentication pr

Re: [PHP] Slow LDAP Queries

2001-08-18 Thread Emilio Panighetti
Andrew, Thanks for your input. Comments below... "Andrew Libby" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Emilio, > > Few thoughts: > > o Is the call syntax you're using for ldap_read() correct? The online > manual page describes the seco

[PHP] Slow LDAP Queries (PHP 4.0.4p1 RH 7.1)

2001-08-16 Thread Emilio Panighetti
I have OpenLDAP and PHP 4.0.4p1 on a RedHat 7.1 (plain distribution, didn't recompile anything, and I use MOD_LDAP to authenticate users to an intranet site. I want PHP pages to show the real username so I have this function I call when I want to know the username. the mod_ldap queries and ldap q