On Fri, Oct 28, 2016 at 6:02 PM, Darshana Gunawardana <[email protected]>
wrote:

>
> This should be possible. Are you getting any errors in UI or in console?
> If not can you enable debug logs in user.core and see any error getting
> printed?
>

No errors in the backend.

In the UI it shows below error message.

"Login failed! Please recheck the username and password and try again."

When I try "TEST/ayesha" as username, I can login.

I have enabled debug logs for user core and below are the logs in two
cases.

*without userstore name, username only "ayesha"*

> [2016-10-31 13:35:22,837] DEBUG
> {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} -  Searching
> for user ayesha003
> [2016-10-31 13:35:22,844] DEBUG
> {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} -  Searching
> for user with SearchFilter: (&(objectClass=person)(uid=ayesha003)) in
> SearchBase:
> [2016-10-31 13:35:22,855] DEBUG
> {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} -  Name in
> space for ayesha003 is null
> [2016-10-31 13:35:22,856] DEBUG
> {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} -  User:
> ayesha003 exist: false
> [2016-10-31 13:35:22,863] DEBUG
> {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} -  Searching
> for user ayesha003
> [2016-10-31 13:35:22,866] DEBUG
> {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} -  Searching
> for user with SearchFilter: (&(objectClass=person)(uid=ayesha003)) in
> SearchBase:
> [2016-10-31 13:35:22,870] DEBUG
> {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} -  Name in
> space for ayesha003 is null
> [2016-10-31 13:35:22,870] DEBUG
> {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} -  User:
> ayesha003 exist: false
>


*with userstore name "TEST2/ayesha"*
>
> *[2016-10-31 13:36:10,657] DEBUG
> {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} -  Searching
> for user ayesha003*
> *[2016-10-31 13:36:10,663] DEBUG
> {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} -  Searching
> for user with SearchFilter: (&(objectClass=person)(uid=ayesha003)) in
> SearchBase: *
> *[2016-10-31 13:36:10,666] DEBUG
> {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} -  *Name in
> space for ayesha003 is uid=ayesha003,ou=Users,dc=wso2,dc=org
> *[2016-10-31 13:36:10,666] DEBUG
> {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} -  User:
> ayesha003 exist: true*
> *[2016-10-31 13:36:10,666] DEBUG
> {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} -  Searching
> for user ayesha003*
> *[2016-10-31 13:36:10,667] DEBUG
> {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} -  value
> after escaping special characters in ayesha003 : ayesha003*
> *[2016-10-31 13:36:10,667] DEBUG
> {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} -  User:
> ayesha003 exist: true*
> *[2016-10-31 13:36:10,684] DEBUG
> {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} -  Searching
> for user with SearchFilter: (&(objectClass=person)(uid=ayesha003)) in
> SearchBase:*


Created https://wso2.org/jira/browse/IDENTITY-5291 to track this.

Thanks!
-Ayesha

-- 
*Ayesha Dissanayaka*
Software Engineer,
WSO2, Inc : http://wso2.com
<http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
20, Palmgrove Avenue, Colombo 3
E-Mail: [email protected] <[email protected]>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to