943,536 Members | Top Members by Rank

Ad:
  • ColdFusion Discussion Thread
  • Unsolved
  • Views: 1611
  • ColdFusion RSS
Jun 24th, 2009
0

Cf8 + cfldap

Expand Post »
Hi,
I have a problem with cfldap tag used in CF8. I have a cfldap tag defined in my application which works fine on CFMX7. But the moment I installed CF8, it gives me an error - "Connection to LDAP server failed."
My cfldap tag goes as below:-
ColdFusion Syntax (Toggle Plain Text)
  1. [CFLDAP NAME="qLDAP"
  2. START = "O=myCompany,C=valueOfC"
  3. SERVER="ldapServerName"
  4. FILTER="(alias=myLdapAlias)"
  5. SORT="SN,GIVENNAME,ALIAS"
  6. ATTRIBUTES= "ALIAS,SN,MODIFYTIMESTAMP"
  7. ACTION="QUERY"
  8. SCOPE="SUBTREE"
  9. TIMEOUT="60000"
  10. referral="yes"
  11. secure="CFSSL_BASIC"
  12. USERNAME="cn=valueOfcn, ou=contractor, o=myCompany, c=valueOfc"
  13. PASSWORD="myLdapPassword"
  14. PORT="636"]
  15. [cfdump var="#qLdap#"]

The wierd thing is when I remove secure,username,password & port attributes from the above CFLDAP tag, it works fine & gets me LDAP results. The moment i put these attributes back in the CFLDAP tag, it fails. I had installed ssl secure on my IIS too. what else am I missing ?

My error is - "Connection to LDAP server failed."
When I expanded the stack trace, I get the following :-
coldfusion.tagext.net.LdapTag$UnknownHostException: Connection to LDAP server failed.
at coldfusion.tagext.net.LdapTag.do_ActionQuery(LdapTag.java:892)
at coldfusion.tagext.net.LdapTag.doStartTag(LdapTag.java:616)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661)
at cfTestLdap2ecfm2026242979.runPage(E:\Inetpub\wwwroot\TejashriCF8\TestLdap.cfm:38)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:175)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
at jrun.servlet.FilterChain.service(FilterChain.java:101)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Can you please help?
Last edited by peter_budo; Jun 25th, 2009 at 1:36 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
tejashrideg21 is offline Offline
1 posts
since Jun 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ColdFusion Forum Timeline: using HTML input type = "file"
Next Thread in ColdFusion Forum Timeline: validateat="onsubmit" gives problem when files are published on server





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC