I think the server slow downs(mentioned in my other email) were
actually unrelated to my page, at least hoping since things magically
spead up this afternoon. This is interesting because nightly we have
a process that literally pulls out something like 55k records from
LDAP and has no issues, it does use the timeout attribute and is set
to 2000. Now that process is still on a CF5 server so maybe that is
why it has not come up with missing records. I'd have to pull up that
file but pretty certain it is actually 26 LDAP calls due to being
inside a loop, it is nice and ugly.
Anyway, here is my test code that would not pull out all user groups
consistantly:
<cfldap action="query"
name="qryGetGroups"
start="o=slb,c=an"
attributes="cn,objectclass"
filter="(&(objectclass=slbGroup)(uniquemember=cn=John Smith
123456,ou=employee,o=SLB,c=AN))"
server="#Application.LDAPserver#"
port="#Application.LDAPport#"
timeout="200"
scope="subtree">
<cfoutput>Groups: #ListLen(ValueList(qryGetGroups.cn))#</cfoutput>
On Fri, 18 Mar 2005 16:14:33 -0600, Dawson, Michael <[EMAIL PROTECTED]> wrote:
> If you have a TIMEOUT specified in the CFLDAP tag, get rid of it.
>
> However, I don't know if that is your problem. I, and others, have
> noticed the problem of random record counts when the results are in the
> hundreds or thousands of records. I have never seen an issue with such
> few records, however, it's worth a try.
>
> Also, let me add that my experiences have been only with Active
> Directory, but I think the TIMEOUT issue was related to ColdFusion's
> side of the interaction.
>
> Can you post your code?
>
> M!ke
>
--
Aaron Rouse
http://www.happyhacker.com/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199418
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54