Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAP/MAD 使用SSL加密报错 #219

Closed
wwyhy opened this issue Dec 28, 2021 · 9 comments
Closed

LDAP/MAD 使用SSL加密报错 #219

wwyhy opened this issue Dec 28, 2021 · 9 comments
Assignees
Labels
Module: LDAP/MAD ldap/mad related Module: plugin DataSource Plugin Type: bug Something isn't working Type: question Usage or problems

Comments

@wwyhy
Copy link

wwyhy commented Dec 28, 2021

遇到的问题

配置MAD认证时加密方式选择SSL后,登陆失败报错。并且登陆失败(加密方式为“无”,登陆正常)。
image

image

重现方法

配置MAD认证时加密方式选择SSL, 然后查看usermgr日志。

预期行为

无报错且正常登陆

版本

  • 用户管理版本号: 2.2.6-b3
  • 社区版: 6.0.4
@IMBlues IMBlues added Module: LDAP/MAD ldap/mad related Type: bug Something isn't working Module: plugin DataSource Plugin labels Dec 28, 2021
@IMBlues
Copy link
Contributor

IMBlues commented Dec 28, 2021

我们会尝试复现一下

@IMBlues IMBlues self-assigned this Dec 28, 2021
@IMBlues IMBlues added this to the Y2022M01-02 milestone Jan 5, 2022
@wwyhy wwyhy mentioned this issue Jan 10, 2022
15 tasks
@IMBlues
Copy link
Contributor

IMBlues commented Jan 17, 2022

连接地址需要写成

遇到的问题

配置MAD认证时加密方式选择SSL后,登陆失败报错。并且登陆失败(加密方式为“无”,登陆正常)。 image

image

重现方法

配置MAD认证时加密方式选择SSL, 然后查看usermgr日志。

预期行为

无报错且正常登陆

版本

  • 用户管理版本号: 2.2.6-b3
  • 社区版: 6.0.4

@wwyhy

仔细看了下,地址栏的填写有些问题

  • 不使用 ssl 时,应该写成 ldap://x.x.x.x:389
  • 使用 ssl 时,需要写成 ldaps://x.x.x.x:636

@IMBlues IMBlues added the Type: question Usage or problems label Jan 17, 2022
@IMBlues
Copy link
Contributor

IMBlues commented Feb 9, 2022

@wwyhy 是否有进一步测试?我先关闭这个 issue,有任何问题可以打开,继续留言

@IMBlues IMBlues closed this as completed Feb 9, 2022
@wwyhy
Copy link
Author

wwyhy commented Feb 10, 2022

使用 ssl写成 ldaps://x.x.x.x:636, 报同样的错误, 并且 测试连接就会失败。

@IMBlues IMBlues reopened this Feb 10, 2022
@IMBlues
Copy link
Contributor

IMBlues commented Feb 10, 2022

使用 ssl写成 ldaps://x.x.x.x:636, 报同样的错误, 并且 测试连接就会失败。

是否有具体报错的 API 模块日志呢?

@wwyhy
Copy link
Author

wwyhy commented Feb 11, 2022

上面截图为具体报错,模块为用户管理, 日志文件是: /data/bkce/logs/usermgr/bk_usermgr.log

@IMBlues
Copy link
Contributor

IMBlues commented Feb 11, 2022

上面截图为具体报错,模块为用户管理, 日志文件是: /data/bkce/logs/usermgr/bk_usermgr.log

确认端口没有错么?我写的 636 只是约定俗成的示例

@wwyhy
Copy link
Author

wwyhy commented Feb 11, 2022

端口636确定没有错误,内部IT也确认无问题。

@IMBlues
Copy link
Contributor

IMBlues commented Feb 11, 2022

端口636确定没有错误,内部IT也确认无问题。

@wwyhy 联系一下对应的蓝鲸助手?我们可以在企业微信上实时沟通看看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Module: LDAP/MAD ldap/mad related Module: plugin DataSource Plugin Type: bug Something isn't working Type: question Usage or problems
Projects
None yet
Development

No branches or pull requests

3 participants