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

[logging] ldap login增加日志/debug日志 #430

Closed
wklken opened this issue May 12, 2022 · 2 comments
Closed

[logging] ldap login增加日志/debug日志 #430

wklken opened this issue May 12, 2022 · 2 comments
Assignees
Labels
Layer: api Api module related Module: LDAP/MAD ldap/mad related Priority: High Type: enhancement Enhancement for existing feature
Milestone

Comments

@wklken
Copy link
Collaborator

wklken commented May 12, 2022

https://github.com/TencentBlueKing/bk-user/blob/development/src/api/bkuser_core/categories/plugins/ldap/login.py

问题: 目前出现登录不进去的场景, 没有足够的信息用于排查问题


另外, 这个跟用户的配置关系很大

@wklken wklken self-assigned this May 13, 2022
@wklken wklken added Type: enhancement Enhancement for existing feature Layer: api Api module related Module: LDAP/MAD ldap/mad related Priority: High labels May 13, 2022
@wklken wklken modified the milestones: Y2022M18-19, Y2022M20-21 May 13, 2022
@wklken
Copy link
Collaborator Author

wklken commented May 16, 2022

此时, 需要打印登录的用户名? 以及, 猜测是否带了域? 相当于, 显式告诉用户问题在哪里

TODO: use info, not debug

@wklken
Copy link
Collaborator Author

wklken commented May 16, 2022

做不到, 因为domain目前没有在login展示 => 应该在login展示domain来解决这个问题?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Layer: api Api module related Module: LDAP/MAD ldap/mad related Priority: High Type: enhancement Enhancement for existing feature
Projects
None yet
Development

No branches or pull requests

1 participant