Why not pull all users (all CNs) from your LDAP directory, then, using
that query, loop over the database?  Basically, reverse your logic.

I wonder if your LDAP server is having problems keeping up...  Are you
sure the thread is sleeping between calls?

However, using Active Directory, I have done LDAP queries that pull data
or even modify it, and I can get through ~4000 entries in less than a
minute.  I never have to sleep the thread.

What LDAP server are you using?  Maybe you already said, but I didn't
notice it.

If you have the time, you might try using ASP with ADSI to see if it's a
CF problem or just a problem with your LDAP directory.


-----Original Message-----
From: Jon Gunnip [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 09, 2005 6:15 PM
To: CF-Talk
Subject: Re: CFLDAP timeout ignored/ force timeout with Java?

Thanks for the suggestions.  I removed the cfldap timeout attribute and
the hanging still occurs.  I have a <cfsetting requesttimeout="300" > at
the top of the page and yet the page hangs for more than 300 seconds.

The test I am doing is to grab a bunch of names from our database and
then enter a loop where I do a cfldap call for each individual (with a
1 second pause between each) to see if I can get their CN from the LDAP
directory.  It hangs on the most recent test after the 43rd individual -
but that is arbitrary.  On the next test, it might pass that individual
with no problem and hang on the 50th or 100th individual.

Any other suggestions?

Jon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194013
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to