Hmmm.  Other than the timeout attribute, everything looks good.

M!ke 

-----Original Message-----
From: Aaron Rouse [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 18, 2005 4:36 PM
To: CF-Talk
Subject: Re: CFLDAP in CFMX (6.1 and 7.0)

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>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199421
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

Reply via email to