/t5/coldfusion-discussions/connection-to-ldap-server-failed/td-p/915736Mar 12, 2008
Mar 12, 2008
Copy link to clipboard
Copied
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.
/t5/coldfusion-discussions/connection-to-ldap-server-failed/m-p/915737#M84176Mar 12, 2008
Mar 12, 2008
Copy link to clipboard
Copied
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.
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
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)
/t5/coldfusion-discussions/connection-to-ldap-server-failed/m-p/915740#M84179Mar 12, 2008
Mar 12, 2008
Copy link to clipboard
Copied
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.