You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have configured the Primary user store with LDAP in MI 4.2.0.37 when we connect to the MI dashboard 4.2.0 latest version we are unable to list the users from the MI dashboard. We are getting the below error in the UI of the MI dashboard.
Also in the WSO2 MI server side, we could see the below error
[2023-10-16 07:34:45,856] ERROR {Utils} - Error initializing the user store. Please try again later org.wso2.micro.integrator.security.user.core.UserStoreException: Invalid character sequence entered for user serch. Please enter valid sequence. at org.wso2.micro.integrator.security.user.core.ldap.ReadOnlyLDAPUserStoreManager.doListUsers(ReadOnlyLDAPUserStoreManager.java:929) at org.wso2.micro.integrator.security.user.core.common.AbstractUserStoreManager.listUsers(AbstractUserStoreManager.java:4114) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.wso2.micro.integrator.security.user.core.common.AbstractUserStoreManager$2.run(AbstractUserStoreManager.java:175) at java.base/java.security.AccessController.doPrivileged(AccessController.java:569) at org.wso2.micro.integrator.security.user.core.common.AbstractUserStoreManager.callSecure(AbstractUserStoreManager.java:172) at org.wso2.micro.integrator.security.user.core.common.AbstractUserStoreManager.listUsers(AbstractUserStoreManager.java:4080) at org.wso2.micro.integrator.management.apis.UsersResource.getUserResults(UsersResource.java:127) at org.wso2.micro.integrator.management.apis.UsersResource.handleGet(UsersResource.java:156) at org.wso2.micro.integrator.management.apis.UsersResource.invoke(UsersResource.java:91) at org.wso2.micro.integrator.management.apis.ApiResourceAdapter.invoke(ApiResourceAdapter.java:55) at org.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPIDispatcher.dispatch(InternalAPIDispatcher.java:87) at org.wso2.carbon.inbound.endpoint.protocol.http.InboundHttpServerWorker.run(InboundHttpServerWorker.java:114) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833)
When we use a Vanilla MI dashboard we are not getting the above error and we are able to list the user without the error.
Steps to Reproduce
Steps to Reproduce:
Get an Updated MI 4.2.0 pack and connect the primary user store with the LDAP server [1]
Get a Vanilla MI dashboard and connect to the MI server and list the user. You can see the users are getting listed
Now update the MI dashboard pack to the latest version and try the use case. You will face the above error
[1].https://apim.docs.wso2.com/en/latest/install-and-setup/setup/mi-setup/user_stores/setting_up_a_userstore/
Affected Component
MIDashboard
Version
4.2.0.9
Environment Details (with versions)
No response
Relevant Log Output
[2023-10-16 07:34:45,856] ERROR {Utils} - Error initializing the user store. Please try again later org.wso2.micro.integrator.security.user.core.UserStoreException: Invalid character sequence entered for user serch. Please enter valid sequence. at org.wso2.micro.integrator.security.user.core.ldap.ReadOnlyLDAPUserStoreManager.doListUsers(ReadOnlyLDAPUserStoreManager.java:929) at org.wso2.micro.integrator.security.user.core.common.AbstractUserStoreManager.listUsers(AbstractUserStoreManager.java:4114) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.wso2.micro.integrator.security.user.core.common.AbstractUserStoreManager$2.run(AbstractUserStoreManager.java:175) at java.base/java.security.AccessController.doPrivileged(AccessController.java:569) at org.wso2.micro.integrator.security.user.core.common.AbstractUserStoreManager.callSecure(AbstractUserStoreManager.java:172) at org.wso2.micro.integrator.security.user.core.common.AbstractUserStoreManager.listUsers(AbstractUserStoreManager.java:4080) at org.wso2.micro.integrator.management.apis.UsersResource.getUserResults(UsersResource.java:127) at org.wso2.micro.integrator.management.apis.UsersResource.handleGet(UsersResource.java:156) at org.wso2.micro.integrator.management.apis.UsersResource.invoke(UsersResource.java:91) at org.wso2.micro.integrator.management.apis.ApiResourceAdapter.invoke(ApiResourceAdapter.java:55) at org.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPIDispatcher.dispatch(InternalAPIDispatcher.java:87) at org.wso2.carbon.inbound.endpoint.protocol.http.InboundHttpServerWorker.run(InboundHttpServerWorker.java:114) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833)
Related Issues
No response
Suggested Labels
No response
The text was updated successfully, but these errors were encountered:
Description
We have configured the Primary user store with LDAP in MI 4.2.0.37 when we connect to the MI dashboard 4.2.0 latest version we are unable to list the users from the MI dashboard. We are getting the below error in the UI of the MI dashboard.
Also in the WSO2 MI server side, we could see the below error
[2023-10-16 07:34:45,856] ERROR {Utils} - Error initializing the user store. Please try again later org.wso2.micro.integrator.security.user.core.UserStoreException: Invalid character sequence entered for user serch. Please enter valid sequence. at org.wso2.micro.integrator.security.user.core.ldap.ReadOnlyLDAPUserStoreManager.doListUsers(ReadOnlyLDAPUserStoreManager.java:929) at org.wso2.micro.integrator.security.user.core.common.AbstractUserStoreManager.listUsers(AbstractUserStoreManager.java:4114) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.wso2.micro.integrator.security.user.core.common.AbstractUserStoreManager$2.run(AbstractUserStoreManager.java:175) at java.base/java.security.AccessController.doPrivileged(AccessController.java:569) at org.wso2.micro.integrator.security.user.core.common.AbstractUserStoreManager.callSecure(AbstractUserStoreManager.java:172) at org.wso2.micro.integrator.security.user.core.common.AbstractUserStoreManager.listUsers(AbstractUserStoreManager.java:4080) at org.wso2.micro.integrator.management.apis.UsersResource.getUserResults(UsersResource.java:127) at org.wso2.micro.integrator.management.apis.UsersResource.handleGet(UsersResource.java:156) at org.wso2.micro.integrator.management.apis.UsersResource.invoke(UsersResource.java:91) at org.wso2.micro.integrator.management.apis.ApiResourceAdapter.invoke(ApiResourceAdapter.java:55) at org.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPIDispatcher.dispatch(InternalAPIDispatcher.java:87) at org.wso2.carbon.inbound.endpoint.protocol.http.InboundHttpServerWorker.run(InboundHttpServerWorker.java:114) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833)
When we use a Vanilla MI dashboard we are not getting the above error and we are able to list the user without the error.
Steps to Reproduce
Steps to Reproduce:
Get an Updated MI 4.2.0 pack and connect the primary user store with the LDAP server [1]
Get a Vanilla MI dashboard and connect to the MI server and list the user. You can see the users are getting listed
Now update the MI dashboard pack to the latest version and try the use case. You will face the above error
[1].https://apim.docs.wso2.com/en/latest/install-and-setup/setup/mi-setup/user_stores/setting_up_a_userstore/
Affected Component
MIDashboard
Version
4.2.0.9
Environment Details (with versions)
No response
Relevant Log Output
Related Issues
No response
Suggested Labels
No response
The text was updated successfully, but these errors were encountered: