wso2 / product-is

Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
727 stars 712 forks source link

Users with last name as Service are not listed #20566

Open mifrazmurthaja opened 2 weeks ago

mifrazmurthaja commented 2 weeks ago

Describe the issue: The users with the last name "Service" are not getting listed when listing the users, due to the logic at doListUsers(). It seems this is implemented to exclude these users from the embedded LDAP, specific to the KDC use case (https://github.com/wso2/docs-is/issues/1364). However, there should be a way to include these users as well, if there are actual users with the last name "Service".

How to reproduce: List down the users on LDAP and observe whether the users with the lastname "Service" are getting listed (mapped attribute for lastname should be sn).

Environment information