Comments (9)
spring_ldap_urls服务地址格式不正确没有协议和端口
from frostmourne.
比如: ldap://192.168.1.2:389
from frostmourne.
ldap setttings
ldap_enabled=true
spring_ldap_urls=ldap://192.168.1.2:389
spring_ldap_username=tech
spring_ldap_password=abc@123
spring_ldap_base=ou=技术部,dc=sh,dc=energy-blockchain,dc=com
spring_ldap_auth_searchFilter=sAMAccountName={0}
#spring_ldap_auth_searchFilter=uid={0}
"2020-11-30T17:22:05.225+08:00" "ERROR" "com.autohome.frostmourne.monitor.service.account.impl.LdapAuthService" "38" "org.springframework.ldap.AuthenticationException" "[LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext error, data 52e, v2580^@]; nested exception is javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext error, data 52e, v2580^@]" "error when ldap authenticate user: bin.sun" "com.autohome.frostmourne.monitor.service.account.impl.LdapAuthService" "validate" "-" "-" "tech" "frostmourne" "frostmourne.monitor" "-" "29" "http-nio-10054-exec-4" "-" "192.168.1.166" "-" "-" "-" "-" "org.springframework.ldap.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext error, data 52e, v2580^@]; nested exception is javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext error, data 52e, v2580^@]
这个base的写法是对的吗?
from frostmourne.
ldap setttings
ldap_enabled=true
spring_ldap_urls=ldap://192.168.1.2:389
spring_ldap_username=tech
spring_ldap_password=abc@123
spring_ldap_base=ou=技术部,dc=sh,dc=energy-blockchain,dc=com
spring_ldap_auth_searchFilter=sAMAccountName={0}
#spring_ldap_auth_searchFilter=uid={0}"2020-11-30T17:22:05.225+08:00" "ERROR" "com.autohome.frostmourne.monitor.service.account.impl.LdapAuthService" "38" "org.springframework.ldap.AuthenticationException" "[LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext error, data 52e, v2580^@]; nested exception is javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext error, data 52e, v2580^@]" "error when ldap authenticate user: bin.sun" "com.autohome.frostmourne.monitor.service.account.impl.LdapAuthService" "validate" "-" "-" "tech" "frostmourne" "frostmourne.monitor" "-" "29" "http-nio-10054-exec-4" "-" "192.168.1.166" "-" "-" "-" "-" "org.springframework.ldap.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext error, data 52e, v2580^@]; nested exception is javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext error, data 52e, v2580^@]
这个base的写法是对的吗?
这个只能你自己确定了,我没办法知道
from frostmourne.
你们ldap谁维护的呢?问下维护人员
from frostmourne.
"label":"LDAP","host":"192.168.1.2","port":389,"uid":"sAMAccountName","bind_dn":"CN=administrator,CN=Users,DC=sh,DC=energy-blockchain,DC=com","password":"00000","encryption":"plain","active_directory":true,"allow_username_or_email_login":false,"block_auto_created_users":false,"base":"ou=技术部,dc=sh,dc=energy-blockchain,dc=com","user_filter":""
我在维护,这个是我们gitlab上的配置,我理解的base就是"ou=技术部,dc=sh,dc=energy-blockchain,dc=com"
from frostmourne.
username配置加上邮箱后缀试试吧
from frostmourne.
试过的,不行。
Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of:
'DC=sh,DC=energy-blockchain,DC=com'
^@]; remaining name '/'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3179)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3100)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2891)
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1846)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1769)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:392)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:358)
at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:276)
at org.springframework.ldap.core.LdapTemplate$3.executeSearch(LdapTemplate.java:303)
at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:363)
... 58 more
"^M
"2020-11-30T20:13:27.286+08:00" "ERROR" "com.autohome.frostmourne.monitor.config.GlobalControllerAdvice" "24" "com.autohome.frostmourne.core.contract.ProtocolException" "用户名或密码错误" "global catch exception" "com.autohome.frostmourne.monitor.config.GlobalControllerAdvice" "handleProtocolException" "-" "-" "tech" "frostmourne" "frostmourne.monitor" "-" "28" "http-nio-10054-exec-6" "-" "192.168.1.166" "-" "-" "-" "-" "com.autohome.frostmourne.core.contract.ProtocolException: 用户名或密码错误
from frostmourne.
ldap错误,需要自己排查一下了
from frostmourne.
Related Issues (20)
- 连接数据库配置问题
- 数据库连不上:CLIENT_PLUGIN_AUTH is required
- 监控列表中添加了告警规则,告警任务不能自动触发执行,手动“执行一次”可以触发 HOT 2
- 是否有相关接口可以直接调用发送告警消息 HOT 1
- 预警邮件主题乱码 HOT 2
- ES数据查询,时间显示不对,这个怎么解决 HOT 2
- frostmourne.monitor.address配置问题 HOT 1
- https忽略证书校验
- 配置文件含义是什么 HOT 1
- 数据类型为http 报警规则支持对json的遍历吗 HOT 2
- orace 支持了吗
- 集成clickhouse 报错如下
- 如何把mysql查询的数据全都显示在消息模板里面 HOT 3
- 对接 skywalking 7.0 alarm测试报错
- elastic8.13.0 [date_histogram] unknown field [interval] HOT 2
- frostmourne管理平台查询X轴不对,用户组创建时间也显示不对
- frostmourne管理平台查询X轴不对,用户组创建时间也显示不对 HOT 4
- 配置ES 8.7的数据源时,后台报SSLException: Received fatal alert: protocol_version HOT 1
- 配置报警升级不生效, 报如下的错, 麻烦帮忙看看 HOT 3
- 登录密码 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frostmourne.