0 Replies Latest reply on Mar 25, 2008 11:19 AM by ravigehlot

    LDAP returns an error

    ravigehlot Level 1
      I need someone to shed a light here...I have to retrieve all the members from a LDAP directory using coldfusion. But I keep getting a 503 error message that says: Request timed out waiting to execute. I can browse the LDAP directory using a third-party software so it is working fine. I am on CF8.

      Code:

      <!--- This starts this script as an application --->
      <cfapplication name="myapp" sessionmanagement="Yes" sessiontimeout="#CreateTimeSpan(0,0,0,1)#" />

      <!--- This tag retrieves all the object classes from the ldap directory--->
      <cfldap server="127.0.0.1"
      port="1003"
      action="query"
      name="results"
      start="o=CompuSport"
      scope="subtree"
      filter="(objectclass=organizationalUnit)"
      attributes="ou"
      maxrows="1" />

      <cfdump var="#results#">