Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Connection to LDAP Server failed

New Here ,
Mar 12, 2008 Mar 12, 2008
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.
TOPICS
Advanced techniques
646
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 12, 2008 Mar 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 12, 2008 Mar 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 12, 2008 Mar 12, 2008
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)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 12, 2008 Mar 12, 2008
LATEST
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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources