Question
Cfldap limited results
I have a Sun Java Directory Server 5.2 with about 260,000+
entries in it. I cannot get coldfusion to return the full result
set using code as shown below. I've cranked up every value on the
ldap server and cf server that I can think of. It is not timing
out. If I begin at row 0, I get about 17,000 back. If I set the
start row at 20,000, I get 0 results.
Something is preventing me from 'counting' past 17,000. The time it takes to return 17,000 is very quick, like 3-4 seconds. If I set the start row at 20,000, it again takes 3-4 seconds for my query below to report zero.
Any ideas?
In the Sun configuration console, I've set the size, look through limit, time limit, and idle timeout to unlimited, and maxed out the request max size and response message max size (1755647 kb).
On the coldfusion server, under settings, I increased all the values, but that did not seem to change anything.
<cfset x=0>
<cfldap action="QUERY"
name="getuid"
attributes="uid"
start="ou=People,o=pcc.edu,o=cp"
startrow="0"
filter="uid=*"
server="*******"
port="*****"
timeout="9999"
username="********"
password="********">
<cfloop query="getuid">
<cfset x=x+1>
</cfloop>
<cfoutput>#x#</cfoutput>
Something is preventing me from 'counting' past 17,000. The time it takes to return 17,000 is very quick, like 3-4 seconds. If I set the start row at 20,000, it again takes 3-4 seconds for my query below to report zero.
Any ideas?
In the Sun configuration console, I've set the size, look through limit, time limit, and idle timeout to unlimited, and maxed out the request max size and response message max size (1755647 kb).
On the coldfusion server, under settings, I increased all the values, but that did not seem to change anything.
<cfset x=0>
<cfldap action="QUERY"
name="getuid"
attributes="uid"
start="ou=People,o=pcc.edu,o=cp"
startrow="0"
filter="uid=*"
server="*******"
port="*****"
timeout="9999"
username="********"
password="********">
<cfloop query="getuid">
<cfset x=x+1>
</cfloop>
<cfoutput>#x#</cfoutput>