Cf8 + cfldap

Reply

Join Date: Jun 2009
Posts: 1
Reputation: tejashrideg21 is an unknown quantity at this point 
Solved Threads: 0
tejashrideg21 tejashrideg21 is offline Offline
Newbie Poster

Cf8 + cfldap

 
0
  #1
Jun 24th, 2009
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:-
  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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC