LDAP unexpected response: 500
LDAP login fails with "unexpected response: 500" in OCP 3.11 after change of certificate in LDAP Server
- 1. 背景
- 2. 环境
- 3. 问题
- 4. 参考解决方案
- Test
1. 背景
工作遇到的类似问题,参考官网进行收集归档,进行笔记形式的记录,便于后续查看。
2. 环境
OpenShift Container Platform 3.11
3. 问题
在LDAP服务器上进行证书更改后,无法通过LDAPPasswordIdentityProvider向OCP集群进行身份验证。
4. 参考解决方案
默认情况下,登录会话仅在24小时内有效,因此一旦时间跨度过长,用户将不得不重新进行身份验证。 结果,处理这种情况的最简单方法可能是通过删除失败用户的身份来清除所有受影响的用户身份。
# oc delete identity MYUsername
Test
测试ldap连接:
# export LDAPTLS_CACERT=/etc/origin/master/additional_ca.crt
# ldapsearch -vvv -H ldaps://server.openshift.example.com -b "OU=UserAccounts,dc=AAA,dc=BBB,dc=CCC" -D "cn=ocpserver,ou=Service Accounts,ou=UserAccounts,dc=AAA,dc=BBB,dc=CCC" -w <password> -s sub -x -LLL -ZZ "(objectClass=User)" sAMAccountName# oc get identity | grep -i myusername
# oc get users
LDAP unexpected response: 500相关推荐
- SocketJs报错failed: Error during WebSocket handshake: Unexpected response code: 400
SocketJs报错failed: Error during WebSocket handshake: Unexpected response code: 400 问题出现在nginx的配置文件,需要 ...
- WebSocket——[Error during WebSocket handshake: Unexpected response code: 403]解决方案
问题描述 WebSocket connection to 'ws://localhost:8888/MetroCity/ws/endpointChat' failed: Error during We ...
- WebSocket——[Error during WebSocket handshake: Unexpected response code: 200]解决方案
问题描述 WebSocket connection to 'ws://localhost:8888/MetroCity/ws/endpointChat' failed: Error during We ...
- 【uniapp】Error during WebSocket handshake: Unexpected response code: 302
前言 使用uniapp创建WebSocket时发生错误:Error during WebSocket handshake: Unexpected response code: 302 分析 报302的 ...
- websocket handshake unexpected response code 404问题
Html页面websocket客户端出现websocket handshake unexpected response code 404问题,一般是地址错误.在new WebSocket()里需要带上 ...
- WebSocket connection to,Error during WebSocket handshake: Unexpected response code: 404
使用标准的JSR 356注解时,需要使用tomcat 8.x版本,如果使用tomcat 7.x的版本,则需要继承WebSocketServlet,否则会报WebSocket connection to ...
- Xfire+WebService “Discarding unexpected response: HTTP/1.1 100 Continue”错误解决
错误如下: org.apache.commons.httpclient.HttpMethodBase writeRequest 信息: 100 (continue) read timeout. Res ...
- Error during WebSocket handshake: Unexpected response code: 404错误的解决
作者:朱金灿 来源:https://blog.csdn.net/clever101 本文操作环境是:64位Windows 10,eclipse Oxygen.2 Release (4.7.2). 在使 ...
- Prometheus报错Error refreshing service Unexpected response code: 503解决办法
今天终于把这个搁置了几个月没有解决的问题解决了,真的是找遍了Google.百度文档,没有找到一个解决方案,这里分享一下解决办法. 公司项目使用的是spring cloud,注册中心使用的Eureka, ...
最新文章
- CentOS7.5安装配置PostgreSQL10
- Linux硬盘安装_ubuntu
- 【PAT (Advanced Level) Practice】1041 Be Unique (20 分)
- LeetCode 221. 最大正方形(DP)
- ecshop轻松实现不同商品调用不同模板
- MySQL系列详解六:MySQL主从复制/半同步演示-技术流ken
- Linux系统的目录结构 及各目录用途详解
- MMP,我说每年年会我怎么老是中不了奖,原来是这样
- 6.6 BERT家族02——sentence-BERT、BioBERT
- bootstrap jasny fileinput插件冲突问题解决
- 所谓的开发是java还是PLC_SCL是否将成为PLC的主流编程语言?
- 使用参数非参数和机器学习方法分析印度降雨变化,能给我国带来什么警示?
- CSDN改变图片大小
- python爬取qq音乐排行榜_手把手教你使用Python抓取QQ音乐数据!
- Mac Pro 开不了机
- 安卓手机APP进行自动化点击软件详解
- 电力系统数字化转型历史(跨部门系统自建阶段)
- 看顶级渣男如何邀约100个女朋友(二)
- chaos_calmer尝鲜
- HQL17 计算男生人数以及平均GPA