tracker issue : CF-3042411

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 84595:(Watson Migration Closure)CFLDAP http://help

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Joel Stobart / Joel Stobart (Joel Stobart)

Created: 10/08/2010

Components: Net Protocols, LDAP

Versions: 9.0.1

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Win All

Vote Count: 3

Problem:

CFLDAP http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7f97.html has a timeout attribute specified in milliseconds. When I use this timeout (with the code similar to that pasted into "steps to reproduce". I dont get any timeout exception. I dont get any exception at all. It just runs for as long as the query requires. We are using the Netscape Directory Server. I am (locally) using 9.0.1 on windows XP. We have a problem with long running ldap queries - and some dodgy connectivity to our ldap cluster. The timeout should save us - but I can't get it to work at all. 
Method:

<cfparam name="variables.ServerName" default="<server>"><cfparam name="variables.BindUserName" default="cn=Directory Manager"><cfparam name="variables.BindPassword" default="<bind password>"><cfsetting enablecfoutputonly="yes"><cftry><cfset variables.filter = "(mail=*)"><cfset variables.LDAPDNSuffix = "ou=<COMPANY>, o=<object>"><cfset start = gettickcount()><!--- Check LDAP ---><cfldap server="#Trim(variables.ServerName)#" username="#Trim(variables.BindUserName)#" password="#variables.BindPassword#" start="#variables.LDAPDNSuffix#" filter="#variables.filter#" scope="subtree"action="query" name="qPing" attributes="dn,sn,lc" timeout="1"><cfset end = gettickcount()><!--- Success ---><cfdump  var="LDAP processing time #start - end#"><cfdump var="#qPing#"  top="4"><!--- Catch ---><cfcatch type="any"><cfdump var="#cfcatch.type#"><cfdump var="#cfcatch#"><cfabort></cfcatch></cftry>
Result:

No error message

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3042411

External Customer Info:
External Company:  
External Customer Name: Joel Stobart
External Customer Email: 48DD18E845BF57E6992015A9
External Test Config: 10/08/2010

Attachments:

Comments: