setting LDAP infomation error #3218
Unanswered
jetliu1711
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use below settings information :
kyuubi.authentication=LDAP
kyuubi.authentication.ldap.base.dn=ou=peor,dc=proe,dc=com
kyuubi.authentication.ldap.url=ldap://ldap.people.com:389
kyuubi.authentication.ldap.guidKey=cn
but make some error like this:
Caused by: javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09044E, comment: AcceptSecurityContext error, data 52e, v2580^@]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3154) ~[?:1.8.0_171]
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3100) ~[?:1.8.0_171]
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2886) ~[?:1.8.0_171]
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2800) ~[?:1.8.0_171]
at com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:319) ~[?:1.8.0_171]
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192) ~[?:1.8.0_171]
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:210) ~[?:1.8.0_171]
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:153) ~[?:1.8.0_171]
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:83) ~[?:1.8.0_171]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684) ~[?:1.8.0_171]
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313) ~[?:1.8.0_171]
at javax.naming.InitialContext.init(InitialContext.java:244) ~[?:1.8.0_171]
at javax.naming.InitialContext.(InitialContext.java:216) ~[?:1.8.0_171]
at javax.naming.directory.InitialDirContext.(InitialDirContext.java:101) ~[?:1.8.0_171]
at org.apache.kyuubi.service.authentication.LdapAuthenticationProviderImpl.authenticate(LdapAuthenticationProviderImpl.scala:78) ~[kyuubi-common_2.12-1.5.2-incubating.jar:1.5.2-incubating]
at org.apache.kyuubi.service.authentication.PlainSASLHelper$PlainServerCallbackHandler.handle(PlainSASLHelper.scala:69) ~[kyuubi-common_2.12-1.5.2-incubating.jar:1.5.2-incubating]
at org.apache.kyuubi.service.authentication.PlainSASLServer.evaluateResponse(PlainSASLServer.scala:74) ~[kyuubi-common_2.12-1.5.2-incubating.jar:1.5.2-incubating]
... 8 more
11:05:18.532 ERROR org.apache.thrift.server.TThreadPoolServer: Error occurred during processing of message.
java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: Error validating the login
at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:219) ~[libthrift-0.9.3.jar:0.9.3]
at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:269) ~[libthrift-0.9.3.jar:0.9.3]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_171]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_171]
at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_171]
Caused by: org.apache.thrift.transport.TTransportException: Error validating the login
at org.apache.thrift.transport.TSaslTransport.sendAndThrowMessage(TSaslTransport.java:232) ~[libthrift-0.9.3.jar:0.9.3]
at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:316) ~[libthrift-0.9.3.jar:0.9.3]
Beta Was this translation helpful? Give feedback.
All reactions