Can you try this: http://forums.devshed.com/ldap-programming-76/javax-naming-authenticationexception-ldap-error-code-49-80090308-ldaperr-dsid-121363.html
/peter G: neubauer.peter S: peter.neubauer P: +46 704 106975 L: http://www.linkedin.com/in/neubauer T: @peterneubauer <http://twitter.com/peterneubauer> Open Data - @mapillary <http://mapillary.com/> Open Source - @neo4j <http://neo4j.org/> Open Future - @coderdojo <http://malmo.coderdojo.se/> On Mon, Jul 21, 2014 at 11:42 AM, dharmendra pratap singh < [email protected]> wrote: > Hello Peter, > This time I have got the below error. > > 02:35:46.783 [qtp2110915609-40] ERROR o.t.n.p.a.LDAPAuthenticationRule - > Failed connecting/authenticating to LDAP > javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: > LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, > v1db1^@] > at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3087) > ~[na:1.7.0_55] > at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3033) > ~[na:1.7.0_55] > at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2835) > ~[na:1.7.0_55] > at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2749) > ~[na:1.7.0_55] > at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:316) > ~[na:1.7.0_55] > at > com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:193) > ~[na:1.7.0_55] > at > com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:211) > ~[na:1.7.0_55] > at > com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154) > ~[na:1.7.0_55] > at > com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84) > ~[na:1.7.0_55] > at > javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684) > ~[na:1.7.0_55] > at > javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307) > ~[na:1.7.0_55] > at javax.naming.InitialContext.init(InitialContext.java:242) > ~[na:1.7.0_55] > at javax.naming.InitialContext.<init>(InitialContext.java:216) > ~[na:1.7.0_55] > at > javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:101) > ~[na:1.7.0_55] > at > org.theblackproject.neo4j.plugin.authentication.LDAPAuthenticationRule.isAuthorized(LDAPAuthenticationRule.java:57) > ~[neo4j-ldap-plugin-1.1-SNAPSHOT.jar:na] > at > org.neo4j.server.rest.security.SecurityFilter.doFilter(SecurityFilter.java:103) > [neo4j-server-2.1.2.jar:2.1.2] > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1477) > [jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815] > at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503) > [jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815] > at > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:211) > [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815] > at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1096) > [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815] > at > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:432) > [jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815] > at > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:175) > [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815] > at > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1030) > [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815] > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136) > [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815] > at > org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) > [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815] > at > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) > [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815] > at > org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:92) > [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815] > at > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) > [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815] > at org.eclipse.jetty.server.Server.handle(Server.java:445) > [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815] > at > org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:268) > [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815] > at > org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:229) > [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815] > at > org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:358) > [jetty-io-9.0.5.v20130815.jar:9.0.5.v20130815] > at > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:601) > [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815] > at > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:532) > [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815] > at java.lang.Thread.run(Thread.java:744) [na:1.7.0_55] > > > I could see here, that it is failing in connecting/authenticating to ldap. > my ldap url is perfect, as i did the ldap for ssh with the same url, so > where it is stucking. > > > Appreciate your help. > > > Cheers > Dharmendra > > > > > > > > On Monday, July 21, 2014 1:58:29 PM UTC+5:30, Peter Neubauer wrote: > >> Do you get any error message? Also, >> you could debug the plugin by remote-debugging the server, see >> http://docs.neo4j.org/chunked/stable/server-debugging.html >> >> /peter >> >> >> G: neubauer.peter >> S: peter.neubauer >> P: +46 704 106975 >> L: http://www.linkedin.com/in/neubauer >> T: @peterneubauer <http://twitter.com/peterneubauer> >> >> Open Data - @mapillary <http://mapillary.com/> >> Open Source - @neo4j <http://neo4j.org/> >> Open Future - @coderdojo <http://malmo.coderdojo.se/> >> >> >> On Mon, Jul 21, 2014 at 10:10 AM, dharmendra pratap singh < >> [email protected]> wrote: >> >>> Hello Everyone, >>> Hope you are doing good. >>> >>> *I want to get some help on LDAP integration with Neo4j. I am trying to >>> integrate it but in final attempt it is not taking my credentials.* >>> >>> *I have followed this >>> tutorial https://github.com/Leviter/neo4j-ldap-plugin >>> <https://github.com/Leviter/neo4j-ldap-plugin> , I do get the pop-up for >>> authentication but after that it is not accepting my LDAP creds. If someone >>> has come across this problem, please help me out of this.* >>> >>> Looking for some quick responses. >>> >>> Thanks a lot in advance. >>> >>> >>> Cheers >>> Dharmendra >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Neo4j" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
