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:-
[CFLDAP NAME="qLDAP"
START = "O=myCompany,C=valueOfC"
SERVER="ldapServerName"
FILTER="(alias=myLdapAlias)"
SORT="SN,GIVENNAME,ALIAS"
ATTRIBUTES= "ALIAS,SN,MODIFYTIMESTAMP"
ACTION="QUERY"
SCOPE="SUBTREE"
TIMEOUT="60000"
referral="yes"
secure="CFSSL_BASIC"
USERNAME="cn=valueOfcn, ou=contractor, o=myCompany, c=valueOfc"
PASSWORD="myLdapPassword"
PORT="636"]
[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?