4 Replies Latest reply on Mar 12, 2008 10:47 AM by Newsgroup_User

    Connection to LDAP Server failed

    CF_contractor Level 1
      OK, I have an application that has been working for years. Yesterday it stopped working and my error trapping started sending me messages with the cfcatch.message of " Connection to LDAP Server failed" The code hasn't been touch in over three years. Any ideas what is going on? I have attached the code but changed some information for security reasons.
        • 1. Re: Connection to LDAP Server failed
          Level 7
          CF_contractor wrote:
          > OK, I have an application that has been working for years. Yesterday it
          > stopped working and my error trapping started sending me messages with the
          > cfcatch.message of " Connection to LDAP Server failed" The code hasn't been
          > touch in over three years. Any ideas what is going on? I have attached the
          > code but changed some information for security reasons.
          >
          > <cfldap
          > action="QUERY"
          > name="qryResults"
          > attributes="distinguishedname"
          > start=""
          > scope="SUBTREE"
          > filter = "(cn=#txtxNO#)"
          > username="testuser"
          > password="test"
          > server="server.com"
          > >
          >


          An LDAP administrator change the password for or removed the 'testuser'
          account? Happened to me last week.

          • 2. Re: Connection to LDAP Server failed
            CF_contractor Level 1
            That was my first thought. We checked and the account was there and we reset the password this morning to make sure no one had changed it. The LDAP admin says that he thinks my user isn't authenticating but nothing has changed in my code
            • 3. Re: Connection to LDAP Server failed
              Level 7
              CF_contractor wrote:
              > That was my first thought. We checked and the account was there and we reset
              > the password this morning to make sure no one had changed it. The LDAP admin
              > says that he thinks my user isn't authenticating but nothing has changed in my
              > code
              >


              Other connective information possible change?

              Can you connect to this server using this account with some other LDAP
              tool such as Softerra's LDAP Browser? (It's free if you don't have one)

              • 4. Re:  Connection to LDAP Server failed
                TSB Level 1
                Whenever I have LDAP issues I load an LDAP browser to help troubleshoot issue. I think you can get a free one from softerra. The last issue I had with ldap I had to add the domain to the username i.e. domain\username and in another app I had to use the syntax username@domain.com to authenticate.

                Trevor