You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "huangsheng (Jira)" <ji...@apache.org> on 2023/07/06 06:19:00 UTC
[jira] [Resolved] (KYLIN-5600) LDAP DN is not case sensitive, resulting in user login failure
[ https://issues.apache.org/jira/browse/KYLIN-5600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
huangsheng resolved KYLIN-5600.
-------------------------------
Resolution: Fixed
> LDAP DN is not case sensitive, resulting in user login failure
> --------------------------------------------------------------
>
> Key: KYLIN-5600
> URL: https://issues.apache.org/jira/browse/KYLIN-5600
> Project: Kylin
> Issue Type: Bug
> Components: REST Service, Security
> Affects Versions: 5.0-alpha
> Reporter: huangsheng
> Assignee: huangsheng
> Priority: Major
> Fix For: 5.0-beta
>
> Attachments: image-1.png, image-2023-07-03-14-33-19-505.png, image-2023-07-03-14-33-56-559.png, image.png
>
>
> In some user scenarios, uppercase and lowercase logins to LDAP fail.
> Root Cause:
> When all users are obtained from ldapUserService in the code, the attribute names in the recorded dn contain uppercase letters, but the DN attribute names passed in by customers when they log in to ldap are lowercase, resulting in inconsistent capitalization and login failure. Customers here CN =xxx,DU=xxx,DC=xxx, but ldap here is cn=xxx,du=xxx,dc=xxx
> A point where later maintenance can be optimized:
> When troubleshooting LDAP problems, there are often strange problems that the user names cannot be matched. It is very laborious to troubleshoot. You need to add this information to the log instead of printing it all the time. You can consider printing it after polling for a number of times, and printing it when it is loaded for the first time. and so on
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)