cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP connection fail

Former Member
0 Kudos

Hi all,

I have configured LDAP and all my queries are working fine, I could see the results as desired.

I have set POLICY with type LDAP. I did configuration. Now I am able to load users.

But after doing all this, when I tried logging into xMII using Active Directory Credentials, I am getting below error.

***********************************************************************************************

ClassName: JAASHandler

Message:

Could not authenticate javax.security.auth.login.LoginException: Could not login into LDAP System at com.lighthammer.cas.authentication.security.spi.LdapLoginModule.doAuthenticate(Unknown Source) at com.lighthammer.cas.authentication.security.spi.AbstractLoginModule.login(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.lighthammer.cas.authentication.security.spi.LHLoginContext.invoke(Unknown Source) at com.lighthammer.cas.authentication.security.spi.LHLoginContext.access$000(Unknown Source) at com.lighthammer.cas.authentication.security.spi.LHLoginContext$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.lighthammer.cas.authentication.security.spi.LHLoginContext.invokeModule(Unknown Source) at com.lighthammer.cas.authentication.security.spi.LHLoginContext.login(Unknown Source) at com.lighthammer.cas.authentication.handler.JAASHandler.authenticate(Unknown Source) at com.lighthammer.cas.gui.servlet.Login.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.newatlanta.servletexec.SERequestDispatcher.forwardServlet(SERequestDispatcher.java:638) at com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.java:236) at com.newatlanta.servletexec.SERequestDispatcher.internalForward(SERequestDispatcher.java:283) at com.newatlanta.servletexec.ApplicationInfo.processApplRequest(ApplicationInfo.java:1846) at com.newatlanta.servletexec.ServerHostInfo.processApplRequest(ServerHostInfo.java:937) at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1091) at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:973) at com.newatlanta.servletexec.ServletExecService.processServletRequest(ServletExecService.java:167) at com.newatlanta.servletexec.ServletExecService.Run(ServletExecService.java:204) at com.newatlanta.servletexec.HttpServerRequest.run(HttpServerRequest.java:487)

ClassName:LdapLoginModule

Message:

javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece]

ClassName: MapperFactory

Message:

com.lighthammer.cas.authorization.InitializationException: Incorrect Username or Password

***********************************************************************************************

Pls suggest solution

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I am able to solve authentication problem. Now I have set Policy with type Windows authentication. It is working fine.