麦粉社区
>
帖子详情

AD域集成的问题

系统运维 发表于 2021-8-19 09:40
发表于 2021-8-19 09:40:17
本帖最后由 Sun 于 2021-8-20 08:21 编辑

按照wiki操作的。testldap.jsp又是显示正常的,不知道怎么排查了
83269611db636c45d9.png

86722611db6463809f.png

49143611db651b9607.png
使用域的账户登录

6416611ef55467a2a.png
报错

64454611ef55aa682c.png
  1. {"retCode":"CLIENT_USER_NOT_LOGIN","result":"尚未登录或会话已超时","stackTrace":"尚未登录或会话已超时\n\tat smartbi.freequery.filter.CheckIsLoggedFilter.doFilter(CheckIsLoggedFilter.java:147)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat smartbi.freequery.filter.TraceFilter.doFilter(TraceFilter.java:61)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat smartbi.framework.RedisSessionFilter.doFilter(Smartbi:125)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:544)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:698)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:353)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:616)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:831)\n\tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1629)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n\tat java.lang.Thread.run(Thread.java:748)\n"}
复制代码



29272611db60b12849.png

45416611db628f0b11.png





发表于 2021-8-19 09:59:18
  1. version:        2021-06-04 19:35:33
  2. packageinfo:        Branch_SmartbiV95_20200429


  3. 验证失败:ad.properties文件配置错误,请检查配置是否正确
  4.         at smartbi.usermanager.SecurityServiceImpl.loginAuth(SecurityServiceImpl.java:442)
  5.         at ...(...)
  6.         at smartbi.usermanager.auth.impl.ADAuthentication.getUser(ADAuthentication.java:335)
  7. Caused by: java.io.IOException: ad.properties文件配置错误,请检查配置是否正确
  8.         at smartbi.usermanager.auth.impl.ADAuthentication.getUser(ADAuthentication.java:335)
  9.         at smartbi.usermanager.SecurityServiceImpl.loginAuth(SecurityServiceImpl.java:336)
  10.         at smartbi.usermanager.SecurityServiceImpl.login(SecurityServiceImpl.java:130)
  11.         at smartbi.usermanager.UserManagerModule.login(UserManagerModule.java:153)
  12.         at smartbi.usermanager.UserManagerModule.clickLogin(UserManagerModule.java:5471)
  13.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  14.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  15.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  16.         at java.lang.reflect.Method.invoke(Method.java:498)
  17.         at smartbi.usc.intercept(Unknown Source)
  18.         at smartbi.usermanager.UserManagerModule$EnhancerByCGLIB$4a71e3ee.clickLogin(<generated>)
  19.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  20.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  21.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  22.         at java.lang.reflect.Method.invoke(Method.java:498)
  23.         at smartbi.framework.rmi.ClientService.execute(Smartbi:118)
  24.         at smartbi.framework.rmi.RMIServlet.processExecute(RMIServlet.java:230)
  25.         at smartbi.framework.rmi.RMIServlet.doPost(RMIServlet.java:168)
  26.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:652)
  27.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
  28.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
  29.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  30.         at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  31.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  32.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  33.         at smartbi.extension.ExtensionFilter$2.doFilter(ExtensionFilter.java:167)
  34.         at smartbi.extension.ExtensionFilter$1.doFilter(ExtensionFilter.java:156)
  35.         at smartbi.security.patch.PatchFilter.doFilter(PatchFilter.java:70)
  36.         at smartbi.extension.ExtensionFilter$1.doFilter(ExtensionFilter.java:156)
  37.         at smartbi.extension.ExtensionFilter.doFilterInternal(ExtensionFilter.java:179)
  38.         at smartbi.extension.ExtensionFilter.doFilter(ExtensionFilter.java:68)
  39.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  40.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  41.         at smartbi.framework.rmi.TransactionFilter.doFilter(Smartbi:50)
  42.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  43.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  44.         at smartbi.freequery.filter.GZIPFilter.doFilter(GZIPFilter.java:211)
  45.         at smartbi.freequery.filter.Filter.doFilter(Filter.java:36)
  46.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  47.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  48.         at smartbi.freequery.filter.CheckIsLoggedFilter.doFilter(CheckIsLoggedFilter.java:209)
  49.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  50.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  51.         at smartbi.freequery.filter.TraceFilter.doFilter(TraceFilter.java:61)
  52.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  53.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  54.         at smartbi.framework.RedisSessionFilter.doFilter(Smartbi:125)
  55.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  56.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  57.         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
  58.         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
  59.         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:544)
  60.         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
  61.         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
  62.         at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:698)
  63.         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
  64.         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:353)
  65.         at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:616)
  66.         at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
  67.         at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:831)
  68.         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1629)
  69.         at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
  70.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  71.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  72.         at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  73.         at java.lang.Thread.run(Thread.java:748)
  74. Caused by: javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C8, comment: AcceptSecurityContext error, data 52e, v2580�]
  75.         at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3154)
  76.         at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3100)
  77.         at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2886)
  78.         at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2800)
  79.         at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:319)
  80.         at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192)
  81.         at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:210)
  82.         at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:153)
  83.         at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:83)
  84.         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
  85.         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
  86.         at javax.naming.InitialContext.init(InitialContext.java:244)
  87.         at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:154)
  88.         at smartbi.usermanager.auth.impl.ADAuthentication.getUser(ADAuthentication.java:247)
  89.         ... 65 more
复制代码
回复

使用道具 举报

发表于 2021-8-19 14:24:18
增加添加basename看一下,参考Wiki文档https://wiki.smartbi.com.cn/pages/viewpage.action?pageId=76678567
回复

使用道具 举报

发表于 2021-8-19 14:54:43
zhudanyan 发表于 2021-8-19 14:24
增加添加basename看一下,参考Wiki文档https://wiki.smartbi.com.cn/pages/viewpage.action?pageId=7667856 ...

好的我试试
回复

使用道具 举报

发表于 2021-8-20 09:45:35
已解决,去除suffix那个配置 留空即可。。。。
回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表