This content is now out of date.

Visit Our Community

Error when connection to Active Directory

Hi Guys,

I�m trying to setup LDAP authentication of the July release of Yellowfin 7 and when I test the LDAP settings in the console I get an error. Please refer to the attachment.

I�m trying to connect to AD on Windows 2012 server.

Any ideas? Have you seen this error before. I need to fix this because it�s a requirement for a POC that's coming up in a couple of weeks.

Any help much appreciated.


Hi Nick,

I would try re-entering the LDAP Administrator password in the LDAP settings.

The error looks like it was trying to decrypt a string that couldn't be decrypted, which may mean it was decrypting a blank string - a password that hadn't been set yet.

Please let us know if this doesn't fix the issue.

The only other way I can see this happening is if you were modifying the LDAP settings directly in the Yellowfin database, or changed JVMs that used different security implementations.

Hi Peter,

Thanks for that it worked. I was able to successfully test the LDAP connection.

However, when I try to log into Yellowfin with an LDAP I get the following error:

javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100213, problem 2001 (NO_OBJECT), data 0, best match o
]; remaining name 'CN=Yellowfin Users,DC=Yellowfin,DC=com'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.searchAux(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.c_search(Unknown Source)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(Unknown Source)
at Source)
at Source)
at Source)
at com.hof.adapter.LDAPAuthentication.authenticate(
at com.hof.adapter.YFConfigAuthentication.authenticate(
at com.hof.ip.process.LogonProcess.processYellowfinLogon(
at com.hof.ip.web.action.LogonAction.performLogin(
at com.hof.ip.web.action.LogonAction.execute(
at org.apache.struts.action.RequestProcessor.processActionPerform(
at org.apache.struts.action.RequestProcessor.process(
at org.apache.struts.action.ActionServlet.process(
at org.apache.struts.action.ActionServlet.doPost(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.tomcat.websocket.server.WsFilter.doFilter(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at com.hof.servlet.BrowserHeaderFilter.doFilter(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.AbstractHttp11Processor.process(
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$ Source)
at org.apache.tomcat.util.threads.TaskThread$
at Source)

It has to do with the configuration. However, it cannot login with "" into Yellowfin to fix.

I take it that if the LDAP authentication fails then Yellowfin does not fall back on database authentication to authenticate the user.


Hi Nick,

Sorry for the delayed response.

Did you manage to re-configure your LDAP server and log in with an LDAP user?

However, in terms of YF falling back on DB authentication, it actually should.
-I have just re-tested this in 7.0 July release.

Has your account been locked out , or marked as deleted?
If so, you can try re-setting the account using the resetadmin JSP mentioned here.

Please let me know how you go.


Thanks for trying Yellowfin

Please complete the form below to request your copy of Yellowfin today.