Skip to main content
Participating Frequently
March 12, 2008
Question

Connection to LDAP Server failed

  • March 12, 2008
  • 2 replies
  • 690 views
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.
This topic has been closed for replies.

2 replies

Inspiring
March 12, 2008
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
Inspiring
March 12, 2008
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.

Participating Frequently
March 12, 2008
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