QUMAS is the only global compliance company offering a
complete solution to regulated industries. Recognized as the world leader in From: QUMAS is the only global compliance company offering a
complete solution to regulated industries. Recognized as the world leader in From: To whom it may concern, I am connecting to LDAP using Tomcat 5.5.12 and everything
is fine. However, when I change over to Tomcat 5.5.16, I can no longer connect
to LDAP because of a binding error. The error I see is included in this email.
The cause of my problem is due to a change made to the JNDIRealm class, the
getUserByPattern(). The change made ( I don’t think) has not been
documented in the change log html. Two lines of code have been removed from the
above class and method. Basically, can you tell me why the change was made and
also can you tell me is there a complimentary change I need to make to my code,
to get the LDAP to work. Any help you can give me would be really appreciated. Regards Miriam QUMAS
is the only global compliance company offering a complete solution to regulated
industries. Recognized as the world leader in |
[05/Oct/2006 15:40:35 IST] ERROR [/qprocess]:837 - Exception performing authentication javax.naming.NamingException: [LDAP: error code 1 - 00000000: LdapErr: DSID-0C0905FF, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, vece remaining name 'qtest\fmccarthy' at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3025) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2737) at com.sun.jndi.ldap.LdapCtx.c_getAttributes(LdapCtx.java:1291) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(ComponentDirContext.java:213) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:121) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:109) at javax.naming.directory.InitialDirContext.getAttributes(InitialDirContext.java:123) at org.apache.catalina.realm.JNDIRealm.getUserByPattern(JNDIRealm.java:992) at org.apache.catalina.realm.JNDIRealm.getUser(JNDIRealm.java:956) at org.apache.catalina.realm.JNDIRealm.authenticate(JNDIRealm.java:882) at org.apache.catalina.realm.JNDIRealm.authenticate(JNDIRealm.java:808) at org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthenticator.java:180) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]